Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 19:09:52 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263742 - head/sys/dev/iscsi
Message-ID:  <201403251909.s2PJ9q5c043555@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Tue Mar 25 19:09:52 2014
New Revision: 263742
URL: http://svnweb.freebsd.org/changeset/base/263742

Log:
  Fix harmless warning after reconnecting a session and not doing anything
  with it.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/iscsi/iscsi.c

Modified: head/sys/dev/iscsi/iscsi.c
==============================================================================
--- head/sys/dev/iscsi/iscsi.c	Tue Mar 25 19:05:05 2014	(r263741)
+++ head/sys/dev/iscsi/iscsi.c	Tue Mar 25 19:09:52 2014	(r263742)
@@ -1288,8 +1288,8 @@ iscsi_ioctl_daemon_handoff(struct iscsi_
 		is->is_conn->ic_data_crc32c = false;
 
 	is->is_cmdsn = 0;
-	is->is_expcmdsn = 1;
-	is->is_maxcmdsn = 1;
+	is->is_expcmdsn = 0;
+	is->is_maxcmdsn = 0;
 	is->is_waiting_for_iscsid = false;
 	is->is_login_phase = false;
 	is->is_timeout = 0;



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