[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <170183237805.1755281.6903745084335290167.b4-ty@oracle.com>
Date: Tue, 5 Dec 2023 22:15:33 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Ketan Mukadam <ketan.mukadam@...adcom.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
John Soni Jose <sony.john-n@...lex.com>,
Jayamohan Kallickal <jayamohank@...il.com>,
James Bottomley <JBottomley@...allels.com>,
Mike Christie <michaelc@...wisc.edu>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: be2iscsi: fix a memleak in beiscsi_init_wrb_handle
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
Powered by blists - more mailing lists