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.
                         *
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to