Unlock unlock ipip_sysctl().
authormvs <mvs@openbsd.org>
Thu, 22 Aug 2024 10:58:31 +0000 (10:58 +0000)
committermvs <mvs@openbsd.org>
Thu, 22 Aug 2024 10:58:31 +0000 (10:58 +0000)
commit7af0f08f590ac7f13ecd0047a3d6943230ee3df9
tree46ac253cfee5de66f768130b1590f0b05e0c5c1c
parentf9d2544ecba44003cc038c7788509a9d8f2b51ee
Unlock unlock ipip_sysctl().

- IPIPCTL_ALLOW - atomically accessed integer;
- IPIPCTL_STATS - per-CPU counters;

In ipip_input() load `ipip_allow' value to `ipip_allow_local' and pass
it down to ipip_input_if() as `allow' arg.

ok bluhm
sys/netinet/in_proto.c
sys/netinet/ip_ipip.c
sys/netinet/ip_ipip.h