diff options
author | 2009-10-31 06:40:14 +0000 | |
---|---|---|
committer | 2009-10-31 06:40:14 +0000 | |
commit | ade004edddcdab33faee7c7b5833d2bf917e71c0 (patch) | |
tree | ceb3b05d41e8166040fd547fb2bc9003e1c8d18b /sys/dev/usb/usb.c | |
parent | If the nmea(4) or endrun(4) timing disciplines are selected ignore status (diff) | |
download | wireguard-openbsd-ade004edddcdab33faee7c7b5833d2bf917e71c0.tar.xz wireguard-openbsd-ade004edddcdab33faee7c7b5833d2bf917e71c0.zip |
Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()
calls can go directly into selwakeup() safely
long discussion with nicm, murmers of consent from tedu and miod, noone
else seems to care of kqueue is busted as long as it makes their sockets
move data fast... pretty sad.
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r-- | sys/dev/usb/usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c index d64559e56be..222aa200cd5 100644 --- a/sys/dev/usb/usb.c +++ b/sys/dev/usb/usb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: usb.c,v 1.59 2009/10/13 19:33:19 pirofti Exp $ */ +/* $OpenBSD: usb.c,v 1.60 2009/10/31 06:40:17 deraadt Exp $ */ /* $NetBSD: usb.c,v 1.77 2003/01/01 00:10:26 thorpej Exp $ */ /* @@ -770,6 +770,7 @@ usb_add_event(int type, struct usb_event *uep) SIMPLEQ_INSERT_TAIL(&usb_events, ueq, next); wakeup(&usb_events); selwakeup(&usb_selevent); + KNOTE(&usb_selevent.si_note, 0); if (usb_async_proc != NULL) psignal(usb_async_proc, SIGIO); splx(s); |