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)
Sun, Dec 15, 11:12 AM
Unknown Object (File)
Thu, Dec 5, 4:51 AM
Unknown Object (File)
Thu, Nov 28, 4:59 AM
Unknown Object (File)
Tue, Nov 26, 11:38 AM
Unknown Object (File)
Nov 18 2024, 9:23 AM
Unknown Object (File)
Nov 17 2024, 11:21 PM
Unknown Object (File)
Nov 17 2024, 8:58 PM
Unknown Object (File)
Nov 17 2024, 7:10 PM

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.