diff options
author | 2017-07-27 12:04:42 +0000 | |
---|---|---|
committer | 2017-07-27 12:04:42 +0000 | |
commit | 9f2d5ee8b00a485c9df8dcafafb2184fd6d12da2 (patch) | |
tree | ae3144aecbbaca93d7fa4d16f48443e244ec2ae9 /sys/kern/uipc_socket.c | |
parent | fcntl(F_DUPFD) needs an argument. Otherwise it fails with EINVAL (diff) | |
download | wireguard-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