Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2016 07:11:32 +0000 (UTC)
From:      Alexander Motin <mav@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: r300578 - stable/10/sys/dev/isp
Message-ID:  <201605240711.u4O7BWlu074145@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue May 24 07:11:31 2016
New Revision: 300578
URL: https://svnweb.freebsd.org/changeset/base/300578

Log:
  MFC r299955: No need to check login status for ZOMBIE ports.
  
  ZOMBIE ports are always logged out, and so initiator may try to relogin.

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

Modified: stable/10/sys/dev/isp/isp.c
==============================================================================
--- stable/10/sys/dev/isp/isp.c	Tue May 24 07:10:50 2016	(r300577)
+++ stable/10/sys/dev/isp/isp.c	Tue May 24 07:11:31 2016	(r300578)
@@ -3808,6 +3808,9 @@ fail:
 				goto fail;
 			}
 
+			if (lp->state == FC_PORTDB_STATE_ZOMBIE)
+				goto relogin;
+
 			/*
 			 * See if we're still logged into it.
 			 *



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