linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/18] lpfc 8.3.42: Fixed mailbox memory leak.
@ 2013-09-06 16:19 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2013-09-06 16:19 UTC (permalink / raw)
  To: linux-scsi

Fixed mailbox memory leak.


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_hbadisc.c |    1 +
 1 file changed, 1 insertion(+)


diff -upNr a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
--- a/drivers/scsi/lpfc/lpfc_hbadisc.c	2013-09-04 13:18:04.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_hbadisc.c	2013-09-06 10:04:06.298058357 -0400
@@ -4437,6 +4437,7 @@ lpfc_nlp_logo_unreg(struct lpfc_hba *phb
 	if (!ndlp)
 		return;
 	lpfc_issue_els_logo(vport, ndlp, 0);
+	mempool_free(pmb, phba->mbox_mem_pool);
 }
 
 /*




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-06 16:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-06 16:19 [PATCH 4/18] lpfc 8.3.42: Fixed mailbox memory leak James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).