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
F118621366: D17732.diff
Sat, May 31, 1:01 AM
Unknown Object (File)
Mon, May 19, 12:00 PM
Unknown Object (File)
Mar 9 2025, 9:48 PM
Unknown Object (File)
Mar 7 2025, 9:19 PM
Unknown Object (File)
Feb 24 2025, 12:09 AM
Unknown Object (File)
Feb 5 2025, 5:47 PM
Unknown Object (File)
Feb 5 2025, 3:30 PM
Unknown Object (File)
Feb 5 2025, 11:45 AM

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