summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-11-13 19:57:12 +0000
committermav <mav@FreeBSD.org>2015-11-13 19:57:12 +0000
commited3f9c0b40564e67c4c40be6c9667b43df8069d8 (patch)
treed69fa50307476a4abe953ad255d963c7a7f2258a
parent7e4f98db079f477aab517f17f51ddf0b8219fa03 (diff)
downloadFreeBSD-src-ed3f9c0b40564e67c4c40be6c9667b43df8069d8.zip
FreeBSD-src-ed3f9c0b40564e67c4c40be6c9667b43df8069d8.tar.gz
MFC r289942: Deliver INOTs only to enabled virtual ports.
-rw-r--r--sys/dev/isp/isp_target.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c
index 0c8ce3c..cf35501 100644
--- a/sys/dev/isp/isp_target.c
+++ b/sys/dev/isp/isp_target.c
@@ -1889,6 +1889,8 @@ isp_handle_24xx_inotify(ispsoftc_t *isp, in_fcentry_24xx_t *inot_24xx)
}
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:
OpenPOWER on IntegriCloud