Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/iscsi 2 splbios in a row does not make sense. make t...



details:   https://anonhg.NetBSD.org/src/rev/3db9afafb35c
branches:  trunk
changeset: 790781:3db9afafb35c
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 20 21:11:15 2013 +0000

description:
2 splbios in a row does not make sense. make the second one splx.

diffstat:

 sys/dev/iscsi/iscsi_rcv.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c4da84681655 -r 3db9afafb35c sys/dev/iscsi/iscsi_rcv.c
--- a/sys/dev/iscsi/iscsi_rcv.c Sun Oct 20 21:06:37 2013 +0000
+++ b/sys/dev/iscsi/iscsi_rcv.c Sun Oct 20 21:11:15 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsi_rcv.c,v 1.4 2012/12/29 11:05:30 mlelstv Exp $    */
+/*     $NetBSD: iscsi_rcv.c,v 1.5 2013/10/20 21:11:15 christos Exp $   */
 
 /*-
  * Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -1143,7 +1143,7 @@
                        throttle_ccb(req_ccb, FALSE);
                        TAILQ_INSERT_TAIL(&waiting, req_ccb, chain);
                }
-               splbio();
+               splx(s);
 
                while ((req_ccb = TAILQ_FIRST(&waiting)) != NULL) {
                        TAILQ_REMOVE(&waiting, req_ccb, chain);



Home | Main Index | Thread Index | Old Index