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

(cherry picked from commit 790194cd472b1d17e08940e9f839322abcf14ec9)

Details

Provenance
kpAuthored on Nov 2 2018, 3:32 PM
Differential Revision
D17734: pf: Limit the fragment entry queue length to 64 per bucket.
Parents
rG11bf4f2fbb3c: pf: Split the fragment reassembly queue into smaller parts
Branches
Unknown
Tags
Unknown