HomeFreeBSD

frag6: replace KAME hand-rolled queues with queue(9) TAILQs

Description

frag6: replace KAME hand-rolled queues with queue(9) TAILQs

Remove the KAME custom circular queue for fragments and fragmented packets
and replace them with a standard TAILQ.
This make the code a lot more understandable and maintainable and removes
further hand-rolled code from the the tree using a standard interface instead.

Hide the still public structures under #ifdef _KERNEL as there is no
use for them in user space.
The naming is a bit confusing now as struct ip6q and the ip6q[] buckets
array are not the same anymore; sadly struct ip6q is also used by the
MAC framework and we cannot rename it.

Submitted by: jtl (initally)
MFC after: 3 weeks
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D16847 (jtl's original)

Details

Provenance
bzAuthored on
Parents
rS353964: Modify release_page() to handle a missing fault page.
Branches
Unknown
Tags
Unknown