Add `ipsec_flows_mtx' mutex(9) to protect `ipsp_ids_*' list and
authoryasuoka <yasuoka@openbsd.org>
Tue, 4 Jan 2022 06:32:39 +0000 (06:32 +0000)
committeryasuoka <yasuoka@openbsd.org>
Tue, 4 Jan 2022 06:32:39 +0000 (06:32 +0000)
commit4d544115ed4f44ed6f1b4e0d49ba954eec10a875
tree1c7231a5c521df16ba5d71c5469c9e2c4aac5d0d
parentb34415180d2436d6ada769ebdc58f13cd41a777a
Add `ipsec_flows_mtx' mutex(9) to protect `ipsp_ids_*' list and
trees.  ipsp_ids_lookup() returns `ids' with bumped reference
counter.  original diff from mvs

ok mvs
sys/net/if_bridge.c
sys/net/if_veb.c
sys/netinet/ip_ipsp.c
sys/netinet/ip_ipsp.h
sys/netinet/ip_output.c
sys/netinet/ip_spd.c
sys/netinet/ipsec_input.c
sys/netinet/tcp_input.c
sys/netinet/udp_usrreq.c
sys/netinet6/ip6_output.c