Page MenuHomeFreeBSD

pf: Count holes rather than fragments for reassembly
ClosedPublic

Authored by kp on Oct 28 2018, 6:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 2:41 PM
Unknown Object (File)
Mon, Nov 24, 8:10 PM
Unknown Object (File)
Fri, Nov 21, 4:07 AM
Unknown Object (File)
Wed, Nov 19, 5:49 PM
Unknown Object (File)
Nov 15 2025, 11:15 PM
Unknown Object (File)
Nov 9 2025, 6:56 PM
Unknown Object (File)
Nov 7 2025, 8:06 AM
Unknown Object (File)
Nov 4 2025, 7:24 PM

Details

Summary

Avoid traversing the list of fragment entris to check whether the
pf(4) reassembly is complete. Instead count the holes that are
created when inserting a fragment. If there are no holes left, the
fragments are continuous.

Obtained from: OpenBSD

Diff Detail

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