pf_remove_divert_state() is an entry point into pf, modifying the pf state
authorpatrick <patrick@openbsd.org>
Fri, 12 Feb 2021 16:16:10 +0000 (16:16 +0000)
committerpatrick <patrick@openbsd.org>
Fri, 12 Feb 2021 16:16:10 +0000 (16:16 +0000)
commitf9a0c1a6378a904bcfda8b3ff89a25f74a8382fd
tree25eb8ee462836fb1df670917febcafc52184f7aa
parent3b85f8b84e9c008f72a45253debf7c872b945cc2
pf_remove_divert_state() is an entry point into pf, modifying the pf state
table.  Hence we have to grab both the pf lock and the pf state lock.

Found by dlg@
ok bluhm@ sashan@
sys/net/pf.c