svn commit: r300578 - stable/10/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Tue May 24 07:11:33 UTC 2016


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.
 			 *


More information about the svn-src-all mailing list