HomeFreeBSD

pf: reset index if it's outside the table

Description

pf: reset index if it's outside the table

when table content changes we need to reset index
to the initial value and do not use the counter;
reported by Sebastian Benoit and Daniel Krambrock,
tested by Sebastian Benoit, ok henning zinke

Obtained from: OpenBSD, mikeb <mikeb@openbsd.org>, dba347c9d1
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jan 9 2025, 1:31 PM
Parents
rG3b79f6d2d394: pf: do not keep state when dropping overlapping IPv6 fragments
Branches
Unknown
Tags
Unknown