projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e26422f
)
lpfc: Correct loss of target discovery after cable swap.
author
James Smart
<james.smart@avagotech.com>
Thu, 21 May 2015 17:55:17 +0000
(13:55 -0400)
committer
James Bottomley
<JBottomley@Odin.com>
Fri, 5 Jun 2015 22:28:52 +0000
(15:28 -0700)
Fix incorrect reference counting
Signed-off-by: Dick Kennedy <dick.kennedy@avagotech.com>
Signed-off-by: James Smart <james.smart@avagotech.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.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 f2db89fd8839be98d13063fc8f39bec4dbc0b191..72388a6ec5d5c8d005f6b2e737b0bcc51a8c8bb0 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/
drivers/scsi/lpfc/lpfc_hbadisc.c
@@
-4296,9
+4296,9
@@
lpfc_drop_node(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp)
if (vport->phba->sli_rev == LPFC_SLI_REV4) {
lpfc_cleanup_vports_rrqs(vport, ndlp);
lpfc_unreg_rpi(vport, ndlp);
- } else {
- lpfc_nlp_put(ndlp);
}
+
+ lpfc_nlp_put(ndlp);
return;
}