Module Name: src
Committed By: mlelstv
Date: Sun Jun 5 06:19:59 UTC 2016
Modified Files:
src/sys/dev/iscsi: iscsi_send.c
Log Message:
Add missing mutex_exit().
To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/dev/iscsi/iscsi_send.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/iscsi/iscsi_send.c
diff -u src/sys/dev/iscsi/iscsi_send.c:1.26 src/sys/dev/iscsi/iscsi_send.c:1.27
--- src/sys/dev/iscsi/iscsi_send.c:1.26 Sun Jun 5 05:40:29 2016
+++ src/sys/dev/iscsi/iscsi_send.c Sun Jun 5 06:19:59 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsi_send.c,v 1.26 2016/06/05 05:40:29 mlelstv Exp $ */
+/* $NetBSD: iscsi_send.c,v 1.27 2016/06/05 06:19:59 mlelstv Exp $ */
/*-
* Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -1368,6 +1368,7 @@ send_command(ccb_t *ccb, ccb_disp_t disp
throttle_ccb(ccb, TRUE);
if (!waitok) {
+ mutex_exit(&sess->lock);
DEBC(conn, 10, ("Throttling send_command, ccb = %p\n",ccb));
return;
}