Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/iscsi interlock isn't taken when cleaning up.



details:   https://anonhg.NetBSD.org/src/rev/591c2b3ce41c
branches:  trunk
changeset: 446478:591c2b3ce41c
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Fri Dec 07 14:59:19 2018 +0000

description:
interlock isn't taken when cleaning up.

diffstat:

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

diffs (18 lines):

diff -r f1f247851e01 -r 591c2b3ce41c sys/dev/iscsi/iscsi_ioctl.c
--- a/sys/dev/iscsi/iscsi_ioctl.c       Fri Dec 07 14:47:24 2018 +0000
+++ b/sys/dev/iscsi/iscsi_ioctl.c       Fri Dec 07 14:59:19 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsi_ioctl.c,v 1.29 2017/12/06 04:29:58 ozaki-r Exp $ */
+/*     $NetBSD: iscsi_ioctl.c,v 1.30 2018/12/07 14:59:19 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -1783,7 +1783,7 @@
 
                        KASSERT(!conn->c_in_session);
 
-                       callout_halt(&conn->c_timeout, &iscsi_cleanup_mtx);
+                       callout_halt(&conn->c_timeout, NULL);
                        closef(conn->c_sock);
                        callout_destroy(&conn->c_timeout);
                        cv_destroy(&conn->c_idle_cv);



Home | Main Index | Thread Index | Old Index