projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5a9b2d
)
[SCSI] lpfc 8.3.42: Fixed back to back RSCNs discovery failure.
author
James Smart
<james.smart@emulex.com>
Fri, 6 Sep 2013 16:20:07 +0000
(12:20 -0400)
committer
James Bottomley
<JBottomley@Parallels.com>
Wed, 11 Sep 2013 00:24:21 +0000
(17:24 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_hbadisc.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_hbadisc.c
b/drivers/scsi/lpfc/lpfc_hbadisc.c
index cc834555689d1348723bda61d451b9754bd2a28f..7801601aa5d9e1977904124b2e9220cda8d66465 100644
(file)
--- 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)
int rc;
uint16_t rpi;
- if (ndlp->nlp_flag & NLP_RPI_REGISTERED) {
+ if (ndlp->nlp_flag & NLP_RPI_REGISTERED ||
+ ndlp->nlp_flag & NLP_REG_LOGIN_SEND) {
+ if (ndlp->nlp_flag & NLP_REG_LOGIN_SEND)
+ lpfc_printf_vlog(vport, KERN_INFO, LOG_SLI,
+ "3366 RPI x%x needs to be "
+ "unregistered nlp_flag x%x "
+ "did x%x\n",
+ ndlp->nlp_rpi, ndlp->nlp_flag,
+ ndlp->nlp_DID);
mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL);
if (mbox) {
/* SLI4 ports require the physical rpi value. */