summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-05-15 12:57:42 +0000
committermpi <mpi@openbsd.org>2017-05-15 12:57:42 +0000
commit1d3e135bf16619a3de412e3bd23910dea0081bcb (patch)
treea250f8662958d16b0b07843e403709283bdcc502 /sys/kern/uipc_socket.c
parentEnable the NET_LOCK(), take 3. (diff)
downloadwireguard-openbsd-1d3e135bf16619a3de412e3bd23910dea0081bcb.tar.xz
wireguard-openbsd-1d3e135bf16619a3de412e3bd23910dea0081bcb.zip
bridge_ioctl() doesn't need to call splnet().
All interface ioctl()s are executed with the NET_LOCK() held, which protects all soft states of the network stack. IPL_NET is only needed in drivers dealing with hardware and by extension the wireless stack.
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions