HomeFreeBSD

pf tests: make killstate:match more robust

Description

pf tests: make killstate:match more robust

Only lists the states relevant to the connection we're killing.
Sometimes there are IPv6 related states (due to the usual IPv6
background traffic of router solicitations, DAD, ...) that causes us to
think we failed to kill the state, which in turn caused the test to fail
intermittently.

MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 4e860bd5da1423aac9aed0541c484ebf9c1d1621)

Details

Provenance
kpAuthored on Jul 27 2021, 1:31 PM
Parents
rG057275e4be56: ktrace: Zero request structures when populating the pool
Branches
Unknown
Tags
Unknown