summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_socket.h
diff options
context:
space:
mode:
authorpirofti <pirofti@openbsd.org>2012-06-19 08:43:32 +0000
committerpirofti <pirofti@openbsd.org>2012-06-19 08:43:32 +0000
commite08120d623c13638d9db3385d5fd3e95172a90b9 (patch)
tree6f80ec7e72b2401de70fa9bbe8c542c96a017484 /sys/compat/linux/linux_socket.h
parentThere are five main sections, not four, since routing domain support was added. (diff)
downloadwireguard-openbsd-e08120d623c13638d9db3385d5fd3e95172a90b9.tar.xz
wireguard-openbsd-e08120d623c13638d9db3385d5fd3e95172a90b9.zip
Change the pool_get() flags from WAITOK to NOWAIT.
This avoids a potential lost-wakeup as pointed out by guenther@. Now the futex is locked all through the process and EAGAIN is returned on failure. Makes sense to guenther@.
Diffstat (limited to 'sys/compat/linux/linux_socket.h')
0 files changed, 0 insertions, 0 deletions