Author: mav
Date: Fri Nov 13 19:57:12 2015
New Revision: 290797
URL: https://svnweb.freebsd.org/changeset/base/290797

Log:
  MFC r289942: Deliver INOTs only to enabled virtual ports.

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

Modified: stable/10/sys/dev/isp/isp_target.c
==============================================================================
--- stable/10/sys/dev/isp/isp_target.c  Fri Nov 13 19:55:59 2015        
(r290796)
+++ stable/10/sys/dev/isp/isp_target.c  Fri Nov 13 19:57:12 2015        
(r290797)
@@ -1889,6 +1889,8 @@ isp_handle_24xx_inotify(ispsoftc_t *isp,
        }
        isp_prt(isp, ISP_LOGTDEBUG1, "%s: Immediate Notify Channels %d..%d 
status=0x%x seqid=0x%x", __func__, lochan, hichan-1, inot_24xx->in_status, 
inot_24xx->in_rxid);
        for (chan = lochan; chan < hichan; chan++) {
+               if (FCPARAM(isp, chan)->role == ISP_ROLE_NONE)
+                       continue;
                switch (inot_24xx->in_status) {
                case IN24XX_LIP_RESET:
                case IN24XX_LINK_RESET:
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to