Re: [PATCH] scsi:lpfc:Fix memory leak on lpfc_bsg_write_ebuf_set func

From: Martin K. Petersen
Date: Mon Dec 09 2019 - 18:09:47 EST


> 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.

Applied to 5.5/scsi-fixes.

Please make sure your Author: string matches your Signed-off-by:. Also,
please use checkpatch!

Martin K. Petersen Oracle Linux Engineering