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
F174318109: D17732.diff
Fri, Oct 2, 8:28 AM
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

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