Re: [PATCH] scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
From: Martin K. Petersen
Date: Thu Sep 15 2022 - 23:02:47 EST
On Tue, 13 Sep 2022 23:49:24 -0300, Rafael Mendonca wrote:
> Commit 8f394da36a36 ("scsi: qla2xxx: Drop TARGET_SCF_LOOKUP_LUN_FROM_TAG")
> made the __qlt_24xx_handle_abts() function return early if
> tcm_qla2xxx_find_cmd_by_tag() doesn't find a command, but it missed to
> clean up the allocated memory for the management command in such a case.
>
>
Applied to 6.0/scsi-fixes, thanks!
[1/1] scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
https://git.kernel.org/mkp/scsi/c/601be20fc6a1
--
Martin K. Petersen Oracle Linux Engineering