Re: [PATCH] scsi: be2iscsi: fix a memleak in beiscsi_init_wrb_handle

From: Martin K. Petersen
Date: Tue Dec 05 2023 - 22:26:06 EST


On Thu, 23 Nov 2023 16:19:41 +0800, Dinghao Liu wrote:

> When an error occurs in the for loop of beiscsi_init_wrb_handle(),
> we should free phwi_ctxt->be_wrbq before returning an error code
> to prevent potential memleak.
>
>

Applied to 6.7/scsi-fixes, thanks!

[1/1] scsi: be2iscsi: fix a memleak in beiscsi_init_wrb_handle
https://git.kernel.org/mkp/scsi/c/235f2b548d7f

--
Martin K. Petersen Oracle Linux Engineering