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/systrace.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/systrace.c')
-rw-r--r-- | sys/dev/systrace.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/systrace.c b/sys/dev/systrace.c index 2ad38420036..f3ede4462d1 100644 --- a/sys/dev/systrace.c +++ b/sys/dev/systrace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: systrace.c,v 1.50 2009/07/09 22:29:55 thib Exp $ */ +/* $OpenBSD: systrace.c,v 1.51 2009/10/31 06:40:16 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -609,6 +609,7 @@ systrace_wakeup(struct fsystrace *fst) { wakeup((caddr_t)fst); selwakeup(&fst->si); + KNOTE(&fst->si.si_note, 0); } struct proc * |