HomeFreeBSD

frag6: Reduce code duplication

Description

frag6: Reduce code duplication

The code which removes a fragment queue from the per-VNET hash table was
duplicated three times. Factor it out into a function. No functional
change intended.

Reviewed by: kp, bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D43228

(cherry picked from commit 0736a38072b52204289c669770a34d0b801a8a7e)

Details

Provenance
markjAuthored on Dec 31 2023, 4:15 PM
Reviewer
kp
Differential Revision
D43228: frag6: Reduce code duplication
Parents
rG213077d6e404: frag6: Drop unneeded casts from malloc calls
Branches
Unknown
Tags
Unknown