diff options
author | 2007-04-28 00:35:16 +0000 | |
---|---|---|
committer | 2007-04-28 00:35:16 +0000 | |
commit | 322f4fbdc68377fbcad1d08076e9c9e482423e9f (patch) | |
tree | 437a7375e8bdf69fc192d21718d384576cbb21c7 | |
parent | remove abstraction around splbio/splx; they just confuse things; ok dlg marco krw (diff) | |
download | wireguard-openbsd-322f4fbdc68377fbcad1d08076e9c9e482423e9f.tar.xz wireguard-openbsd-322f4fbdc68377fbcad1d08076e9c9e482423e9f.zip |
missing splbio/splx pair (which splasserted me per-device probe) in
polling mode code; ok dlg marco krw
-rw-r--r-- | sys/dev/ic/gdt_common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/gdt_common.c b/sys/dev/ic/gdt_common.c index 07d66840020..147d05fb719 100644 --- a/sys/dev/ic/gdt_common.c +++ b/sys/dev/ic/gdt_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gdt_common.c,v 1.38 2007/04/28 00:34:25 deraadt Exp $ */ +/* $OpenBSD: gdt_common.c,v 1.39 2007/04/28 00:35:16 deraadt Exp $ */ /* * Copyright (c) 1999, 2000, 2003 Niklas Hallqvist. All rights reserved. @@ -615,7 +615,9 @@ gdt_scsi_cmd(xs) */ xs->error = XS_DRIVER_STUFFUP; xs->flags |= ITSDONE; + s = splbio(); scsi_done(xs); + splx(s); return (COMPLETE); } |