HomeFreeBSD

pf: Limit the fragment entry queue length to 64 per bucket.

Description

pf: Limit the fragment entry queue length to 64 per bucket.

So we have a global limit of 1024 fragments, but it is fine grained to
the region of the packet. Smaller packets may have less fragments.
This costs another 16 bytes of memory per reassembly and devides the
worst case for searching by 8.

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

Details

Provenance
kpAuthored on Nov 2 2018, 3:32 PM
Parents
rGfd2ea405e601: pf: Split the fragment reassembly queue into smaller parts
Branches
Unknown
Tags
Unknown