From owner-svn-src-head@FreeBSD.ORG Tue Mar 25 19:09:52 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF1D86E; Tue, 25 Mar 2014 19:09:52 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AC54E87B; Tue, 25 Mar 2014 19:09:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2PJ9qf8043556; Tue, 25 Mar 2014 19:09:52 GMT (envelope-from trasz@svn.freebsd.org) Received: (from trasz@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2PJ9q5c043555; Tue, 25 Mar 2014 19:09:52 GMT (envelope-from trasz@svn.freebsd.org) Message-Id: <201403251909.s2PJ9q5c043555@svn.freebsd.org> From: Edward Tomasz Napierala Date: Tue, 25 Mar 2014 19:09:52 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r263742 - head/sys/dev/iscsi X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Mar 2014 19:09:52 -0000 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;