Use per-CPU counters for tunnel descriptor block (TDB) statistics.
authormvs <mvs@openbsd.org>
Mon, 20 Dec 2021 15:59:09 +0000 (15:59 +0000)
committermvs <mvs@openbsd.org>
Mon, 20 Dec 2021 15:59:09 +0000 (15:59 +0000)
commitd997d144bba865ef0ed7b48a44b6e682be357f26
tree8dee4f65fa0ebd929a7bc77d7e0c66b6b11ba887
parentcb010a8d6bfe04dc28bfdb85df5dbaa58af3a9b9
Use per-CPU counters for tunnel descriptor block (TDB) statistics.
'tdb_data' struct became unused and was removed.

Tested by Hrvoje Popovski.
ok bluhm@
sys/net/pfkeyv2_convert.c
sys/netinet/ip_ah.c
sys/netinet/ip_esp.c
sys/netinet/ip_ipcomp.c
sys/netinet/ip_ipsp.c
sys/netinet/ip_ipsp.h
sys/netinet/ip_output.c
sys/netinet/ipsec_input.c
sys/netinet/ipsec_output.c
sys/netinet6/ip6_output.c