svn commit: r299955 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Mon May 16 16:44:35 UTC 2016


Author: mav
Date: Mon May 16 16:44:34 2016
New Revision: 299955
URL: https://svnweb.freebsd.org/changeset/base/299955

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

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

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c	Mon May 16 16:29:56 2016	(r299954)
+++ head/sys/dev/isp/isp.c	Mon May 16 16:44:34 2016	(r299955)
@@ -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