diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-10-31 06:40:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-10-31 06:40:18 +0000 |
commit | f3184ac14f03da17bde002ccff8abf43076b34bc (patch) | |
tree | 095aba03ec9c46097cdee71ffbe0a3cf6726ded1 /sys/dev/sbus/magma.c | |
parent | 84fb3053dd046225edb7868a8dd17410070e5b8c (diff) |
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/sbus/magma.c')
-rw-r--r-- | sys/dev/sbus/magma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sbus/magma.c b/sys/dev/sbus/magma.c index 8d44f4254ea..f79c7f8413d 100644 --- a/sys/dev/sbus/magma.c +++ b/sys/dev/sbus/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.17 2008/11/29 05:56:41 deraadt Exp $ */ +/* $OpenBSD: magma.c,v 1.18 2009/10/31 06:40:17 deraadt Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert @@ -1123,6 +1123,7 @@ mtty_start(struct tty *tp) } selwakeup(&tp->t_wsel); + KNOTE(&tp->t_wsel.si_note, 0); } /* if something to send, start transmitting |