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)
Mon, Nov 18, 9:23 AM
Unknown Object (File)
Sun, Nov 17, 11:21 PM
Unknown Object (File)
Sun, Nov 17, 8:58 PM
Unknown Object (File)
Sun, Nov 17, 7:10 PM
Unknown Object (File)
Sun, Nov 17, 5:04 PM
Unknown Object (File)
Sun, Nov 17, 4:40 PM
Unknown Object (File)
Sun, Nov 17, 4:23 PM
Unknown Object (File)
Sun, Nov 17, 4:14 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.