[SCSI] lpfc 8.3.42: Fixed mailbox memory leak.
authorJames Smart <james.smart@emulex.com>
Fri, 6 Sep 2013 16:19:06 +0000 (12:19 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Sep 2013 23:59:56 +0000 (16:59 -0700)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_hbadisc.c

index 60d6ca2..cc83455 100644 (file)
@@ -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);
 }
 
 /*