]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[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 60d6ca2f68c22bea28a888c19940eb10acaefea9..cc834555689d1348723bda61d451b9754bd2a28f 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);
 }
 
 /*