summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-07-27 12:04:42 +0000
committermpi <mpi@openbsd.org>2017-07-27 12:04:42 +0000
commit9f2d5ee8b00a485c9df8dcafafb2184fd6d12da2 (patch)
treeae3144aecbbaca93d7fa4d16f48443e244ec2ae9 /sys/kern/uipc_socket.c
parentfcntl(F_DUPFD) needs an argument. Otherwise it fails with EINVAL (diff)
downloadwireguard-openbsd-9f2d5ee8b00a485c9df8dcafafb2184fd6d12da2.tar.xz
wireguard-openbsd-9f2d5ee8b00a485c9df8dcafafb2184fd6d12da2.zip
Grab the KERNEL_LOCK() before calling sorwakeup().
In the forwarding path, pf_test() is executed w/o KERNEL_LOCK() and in case of divert end up calling sowakup(). However selwakup() and csignal() are not yet ready to be executed w/o KERNEL_LOCK(). ok bluhm@
Diffstat (limited to 'sys/kern/uipc_socket.c')
0 files changed, 0 insertions, 0 deletions