summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2013-09-06 18:19:06 +0200
committerJames Bottomley <JBottomley@Parallels.com>2013-09-11 01:59:56 +0200
commit4aa74c3c3134a1f6ad96db4dd5e28ac305d4d519 (patch)
tree9f2031f9c441b71ae8cee05a6b3027780a3b4616
parent[SCSI] lpfc 8.3.42: Fix random errors using first burst (diff)
downloadlinux-4aa74c3c3134a1f6ad96db4dd5e28ac305d4d519.tar.xz
linux-4aa74c3c3134a1f6ad96db4dd5e28ac305d4d519.zip
[SCSI] lpfc 8.3.42: Fixed mailbox memory leak.
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--drivers/scsi/lpfc/lpfc_hbadisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
index 60d6ca2f68c2..cc834555689d 100644
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c
@@ -4437,6 +4437,7 @@ lpfc_nlp_logo_unreg(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
if (!ndlp)
return;
lpfc_issue_els_logo(vport, ndlp, 0);
+ mempool_free(pmb, phba->mbox_mem_pool);
}
/*