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
F109469188: D17732.id49937.diff
Wed, Feb 5, 11:45 AM
Unknown Object (File)
Sat, Jan 25, 8:12 PM
Unknown Object (File)
Sat, Jan 25, 7:26 PM
Unknown Object (File)
Dec 18 2024, 5:10 PM
Unknown Object (File)
Nov 16 2024, 11:58 AM
Unknown Object (File)
Oct 27 2024, 7:05 PM
Unknown Object (File)
Oct 20 2024, 5:12 PM
Unknown Object (File)
Oct 14 2024, 8:46 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20479
Build 19911: arc lint + arc unit