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
F162317667: D17732.diff
Sun, Jul 12, 12:24 AM
Unknown Object (File)
Fri, Jul 10, 2:49 AM
Unknown Object (File)
Wed, Jul 1, 11:53 AM
Unknown Object (File)
May 18 2026, 8:46 AM
Unknown Object (File)
May 18 2026, 8:46 AM
Unknown Object (File)
May 18 2026, 1:46 AM
Unknown Object (File)
May 17 2026, 2:49 PM
Unknown Object (File)
May 17 2026, 1:57 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