Unlock sysctl net.inet.ip.directed-broadcast.
authorbluhm <bluhm@openbsd.org>
Tue, 6 Aug 2024 16:56:09 +0000 (16:56 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 6 Aug 2024 16:56:09 +0000 (16:56 +0000)
commitc80589b81c02cb6468a831c6cf3452be5637d885
treeb73bfc6890a06c0291571a854a5b89a587ebdcd1
parentd80c3592c5656cea49cba26741ebd70a75f84e4d
Unlock sysctl net.inet.ip.directed-broadcast.

ip_directedbcast is read once in either ip_input() or pf_test()
during packet processing.  So writing the variable does not need
net lock.

OK mvs@
sys/net/pf.c
sys/netinet/ip_input.c