Global variables to track initialisation behave poorly with MP.
authorbluhm <bluhm@openbsd.org>
Wed, 29 Sep 2021 22:08:13 +0000 (22:08 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 29 Sep 2021 22:08:13 +0000 (22:08 +0000)
commitf1b2e64db51cec79f68cd3836e486a331f383511
tree0bc1cbe0f801810b04f86167f191afeb176a9db5
parent607dd7f81ac08defd7e1a8bab937f0ac844ce56e
Global variables to track initialisation behave poorly with MP.
Move the tdb pool init into an init function.
OK mvs@
sys/netinet/ip_ipsp.c
sys/netinet/ip_ipsp.h
sys/netinet/ipsec_input.c