diff options
author | Bo Wu <wubo40@huawei.com> | 2019-12-07 03:22:46 +0000 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-12-09 18:07:34 -0500 |
commit | 9a1b0b9a6dab452fb0e39fe96880c4faf3878369 (patch) | |
tree | 3f7f9aeabef2edc458a6a3c8dd12328595f02480 /security | |
parent | c868907e1ac6a08a17f8fa9ce482c0a496896e9e (diff) |
scsi: lpfc: Fix memory leak on lpfc_bsg_write_ebuf_set func
When phba->mbox_ext_buf_ctx.seqNum != phba->mbox_ext_buf_ctx.numBuf,
dd_data should be freed before return SLI_CONFIG_HANDLED.
When lpfc_sli_issue_mbox func return fails, pmboxq should be also freed in
job_error tag.
Link: https://lore.kernel.org/r/EDBAAA0BBBA2AC4E9C8B6B81DEEE1D6915E7A966@DGGEML525-MBS.china.huawei.com
Signed-off-by: Bo Wu <wubo40@huawei.com>
Reviewed-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions