From 33d34744018f5e2667c112ac068fa0ab18a0c388 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sun, 25 Oct 2015 19:55:48 +0000 Subject: [PATCH] Deliver INOTs only to enabled virtual ports. --- sys/dev/isp/isp_target.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index 0c8ce3c7fce2..cf355016496d 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: