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

This commit is contained in:
christos 2013-10-20 21:11:15 +00:00
parent 9b0681b6d3
commit d78c7d418c

@ -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 @@ receive_pdu(connection_t *conn, pdu_t *pdu)
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);