HomeFreeBSD

pf: Count holes rather than fragments for reassembly

Description

pf: Count holes rather than fragments for reassembly

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
Differential Revision: https://reviews.freebsd.org/D17732

Details

Provenance
kpAuthored on
Differential Revision
D17732: pf: Count holes rather than fragments for reassembly
Parents
rS340059: Add new USB v2.0 PCI ID.
Branches
Unknown
Tags
Unknown