The timeout for ipsec acquire does not decrement the reference
authorbluhm <bluhm@openbsd.org>
Fri, 17 Jun 2022 13:40:21 +0000 (13:40 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 17 Jun 2022 13:40:21 +0000 (13:40 +0000)
commit2866e11049fcdea483901c93e12803c8c392d0b2
tree86f27bccdaed926cb685594e612cbca0176c9647
parent377b8a5e44085d4a60c77df89aceb8437d32347a
The timeout for ipsec acquire does not decrement the reference
counter to 0 properly.  We have one reference count for the lists,
and one for the timeout handler.  When the timout fires, it has to
decrement the reference to itself.  Then the ipa is removed from
the lists and decremented again.
from Stefan Butz; OK tobhe@ mvs@
sys/netinet/ip_spd.c