Protect the tdb hashes with a mutex. Move initialization out of
authorbluhm <bluhm@openbsd.org>
Mon, 25 Oct 2021 16:00:12 +0000 (16:00 +0000)
committerbluhm <bluhm@openbsd.org>
Mon, 25 Oct 2021 16:00:12 +0000 (16:00 +0000)
commit92adc917d81f5af1feff028dd6ff5039c132b211
treedef9d0439dd7a221c08b8b52bcd60df253b4039f
parentabae8ea6e7c2feb8d3a73d157c465584f09ffdfd
Protect the tdb hashes with a mutex.  Move initialization out of
the processing path.  If rehashing fails due to low memory, just
keep the old hash buckets.
OK tobhe@
sys/netinet/ip_ipsp.c