Page MenuHomeFreeBSD

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

Authored by kp on Oct 28 2018, 6:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 9:51 PM
Unknown Object (File)
Thu, May 2, 3:00 PM
Unknown Object (File)
Wed, May 1, 8:43 PM
Unknown Object (File)
Fri, Apr 12, 7:18 PM
Unknown Object (File)
Mar 27 2024, 10:31 PM
Unknown Object (File)
Jan 29 2024, 12:05 AM
Unknown Object (File)
Jan 28 2024, 9:40 PM
Unknown Object (File)
Jan 7 2024, 10:28 AM

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

eri added a subscriber: eri.
eri added inline comments.
sys/netpfil/pf/pf_norm.c
91 ↗(On Diff #49719)

Can you correct the formatting here?

This revision is now accepted and ready to land.Oct 30 2018, 5:48 PM
This revision now requires review to proceed.Nov 1 2018, 10:58 AM
This revision was not accepted when it landed; it landed in state Needs Review.Nov 2 2018, 3:32 PM
This revision was automatically updated to reflect the committed changes.