Reintroduce the TDBF_DELETED flag. Checking next pointer to figure
authorbluhm <bluhm@openbsd.org>
Wed, 1 Dec 2021 22:34:31 +0000 (22:34 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 1 Dec 2021 22:34:31 +0000 (22:34 +0000)
commit2400aaebddc906029d6e636ba6455b83a11692b2
treea30eb352315d91c98e05df152512c2966373d0f3
parent45b43d797e77b465fb731565d65489da903f539d
Reintroduce the TDBF_DELETED flag.  Checking next pointer to figure
out whether the TDB is linked to the hash bucket does not work.
This fixes removal of SAs that could not be flushed with ipsecctl -F.
OK tobhe@
sys/net/pfkeyv2.c
sys/netinet/ip_ipsp.c
sys/netinet/ip_ipsp.h