]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf tests: make killstate:match more robust
authorKristof Provost <kp@FreeBSD.org>
Tue, 27 Jul 2021 13:31:00 +0000 (15:31 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 30 Jul 2021 11:57:02 +0000 (13:57 +0200)
commit6581afbb3335a620ba5f219011ccc898ea2a32ba
treee47538bfb0b865a4483017c767eb01528bf0384b
parente1d7668f872d7c7f9c814c918890bfaaebdee858
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)
tests/sys/netpfil/pf/killstate.sh