summaryrefslogtreecommitdiffstats
path: root/sys/arch/sparc/dev/magma.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-10-31 06:40:14 +0000
committerderaadt <deraadt@openbsd.org>2009-10-31 06:40:14 +0000
commitade004edddcdab33faee7c7b5833d2bf917e71c0 (patch)
treeceb3b05d41e8166040fd547fb2bc9003e1c8d18b /sys/arch/sparc/dev/magma.c
parentIf the nmea(4) or endrun(4) timing disciplines are selected ignore status (diff)
downloadwireguard-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/arch/sparc/dev/magma.c')
-rw-r--r--sys/arch/sparc/dev/magma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c
index 05b217a790f..18dbf2179fd 100644
--- a/sys/arch/sparc/dev/magma.c
+++ b/sys/arch/sparc/dev/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.21 2009/04/10 20:53:51 miod Exp $ */
+/* $OpenBSD: magma.c,v 1.22 2009/10/31 06:40:16 deraadt Exp $ */
/*-
* Copyright (c) 1998 Iain Hibbert
@@ -1208,6 +1208,7 @@ mtty_start(tp)
}
selwakeup(&tp->t_wsel);
+ KNOTE(&tp->t_wsel.si_note, 0);
}
/*