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)
Wed, Sep 30, 7:18 PM
Unknown Object (File)
Wed, Sep 30, 7:17 PM
Unknown Object (File)
Wed, Sep 30, 5:33 PM
Unknown Object (File)
Tue, Sep 29, 5:11 AM
Unknown Object (File)
Fri, Sep 25, 7:46 PM
Unknown Object (File)
Aug 31 2026, 11:07 PM
Unknown Object (File)
Aug 26 2026, 10:35 AM
Unknown Object (File)
Aug 14 2026, 7:03 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

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