Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 06:41:34 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r265499 - stable/10/sys/dev/iscsi
Message-ID:  <201405070641.s476fYNC093943@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed May  7 06:41:33 2014
New Revision: 265499
URL: http://svnweb.freebsd.org/changeset/base/265499

Log:
  MFC r264026:
  
  Enable a KASSERT.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/sys/dev/iscsi/icl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/iscsi/icl.c
==============================================================================
--- stable/10/sys/dev/iscsi/icl.c	Wed May  7 06:38:19 2014	(r265498)
+++ stable/10/sys/dev/iscsi/icl.c	Wed May  7 06:41:33 2014	(r265499)
@@ -1222,10 +1222,7 @@ icl_conn_close(struct icl_conn *ic)
 
 	KASSERT(TAILQ_EMPTY(&ic->ic_to_send),
 	    ("destroying session with non-empty send queue"));
-	/*
-	 * XXX
-	 */
-#if 0
+#ifdef DIAGNOSTIC
 	KASSERT(ic->ic_outstanding_pdus == 0,
 	    ("destroying session with %d outstanding PDUs",
 	     ic->ic_outstanding_pdus));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405070641.s476fYNC093943>