diff options
author | James Smart <james.smart@emulex.com> | 2013-09-06 12:20:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-10 20:24:21 -0400 |
commit | f454a9ac82e53fde962c53b3f76252287cc280ff (patch) | |
tree | 30b3dcc08347487495398f0d6da4b087928d02fa /drivers/scsi/lpfc | |
parent | b5a9b2dfe685117d20062e7cb7998df4d786fca7 (diff) |
[SCSI] lpfc 8.3.42: Fixed back to back RSCNs discovery failure.
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index cc834555689d..7801601aa5d9 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -4457,7 +4457,15 @@ lpfc_unreg_rpi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) | |||
4457 | int rc; | 4457 | int rc; |
4458 | uint16_t rpi; | 4458 | uint16_t rpi; |
4459 | 4459 | ||
4460 | if (ndlp->nlp_flag & NLP_RPI_REGISTERED) { | 4460 | if (ndlp->nlp_flag & NLP_RPI_REGISTERED || |
4461 | ndlp->nlp_flag & NLP_REG_LOGIN_SEND) { | ||
4462 | if (ndlp->nlp_flag & NLP_REG_LOGIN_SEND) | ||
4463 | lpfc_printf_vlog(vport, KERN_INFO, LOG_SLI, | ||
4464 | "3366 RPI x%x needs to be " | ||
4465 | "unregistered nlp_flag x%x " | ||
4466 | "did x%x\n", | ||
4467 | ndlp->nlp_rpi, ndlp->nlp_flag, | ||
4468 | ndlp->nlp_DID); | ||
4461 | mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); | 4469 | mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); |
4462 | if (mbox) { | 4470 | if (mbox) { |
4463 | /* SLI4 ports require the physical rpi value. */ | 4471 | /* SLI4 ports require the physical rpi value. */ |