summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2012-03-25 20:33:52 +0000
committerderaadt <deraadt@openbsd.org>2012-03-25 20:33:52 +0000
commit89ce1a60979493ef5f665ad261f9f5af951e1e0a (patch)
tree8daf10e78ef9581872d089d567306489d0c3f236 /sys/kern/subr_hibernate.c
parentstrsignal() was added to POSIX-2008; strerror_r() was in the base (diff)
downloadwireguard-openbsd-89ce1a60979493ef5f665ad261f9f5af951e1e0a.tar.xz
wireguard-openbsd-89ce1a60979493ef5f665ad261f9f5af951e1e0a.zip
release the file ref to the kqueue while in kevent(), so that close()
can terminate. a new ref on the kqueue itself allows us to free it properly in that case. wakeups were missing too (for both kevent and poll). similar to netbsd pr46248. fixes a number of threaded ports. this version of the fix from matthew. ok tedu guenther matthew
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions