fix logic bug in pf_find_state()
authorhenning <henning@openbsd.org>
Mon, 13 Jun 2022 12:48:00 +0000 (12:48 +0000)
committerhenning <henning@openbsd.org>
Mon, 13 Jun 2022 12:48:00 +0000 (12:48 +0000)
commitb54c49ee96706252b9b0c2c04915fb136800229a
tree7db204251f526c06f593231bd8ab507a4cec1dc5
parent1d0ffe23e95516576a269f0e68aaa774d60910fe
fix logic bug in pf_find_state()
a state in PFTM_PURGE could potentially hide another state on the same state
key that is active and we'd incorrectly block the packet
I believe that cannot happen as things are now.
ok sashan
sys/net/pf.c