HomeFreeBSD

pf: Split the fragment reassembly queue into smaller parts

Description

pf: Split the fragment reassembly queue into smaller parts

Remember 16 entry points based on the fragment offset. Instead of
a worst case of 8196 list traversals we now check a maximum of 512
list entries or 16 array elements.

Obtained from: OpenBSD
Differential Revision: https://reviews.freebsd.org/D17733

Details

Provenance
kpAuthored on Nov 2 2018, 3:26 PM
Parents
rG2b1c354ee6fb: pf: Count holes rather than fragments for reassembly
Branches
Unknown
Tags
Unknown