Hrvoje has hit a crash with IPsec acquire while testing the parallel
authorbluhm <bluhm@openbsd.org>
Sun, 13 Mar 2022 21:38:32 +0000 (21:38 +0000)
committerbluhm <bluhm@openbsd.org>
Sun, 13 Mar 2022 21:38:32 +0000 (21:38 +0000)
commit6b23c0e5a1fe0873b0d55d8c2eff8b1347582281
tree900ff97104e3cfb02abc6271144d0313bc9954de
parentcbaa0f6945be7e01cc112d973f45bbe97e2f3562
Hrvoje has hit a crash with IPsec acquire while testing the parallel
IP forwarding diff.  Add mutex and refcount to make memory management
of struct ipsec_acquire MP safe.
testing Hrvoje Popovski; input sashan@; OK mvs@
sys/net/pfkeyv2.c
sys/netinet/ip_ipsp.h
sys/netinet/ip_spd.c