diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2026-07-07 12:23:02 +0530 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-07-08 22:00:46 -0400 |
| commit | 1bd28625e25be549ee7c47532e7c3ef91c682410 (patch) | |
| tree | d41b99f9b36df0271248f033f1ea8dece7dc52f9 /tools/perf/scripts/python | |
| parent | 1d3a742afeb761eaead774691bde1ced699e9a5d (diff) | |
scsi: lpfc: Fix memory leak in lpfc_sli4_driver_resource_setup()
The memory allocated for mboxq using mempool_alloc() is not freed in
some of the early exit error paths. Fix that by moving the
mempool_free() call to an earlier point after last use.
Fixes: d79c9e9d4b3d ("scsi: lpfc: Support dynamic unbounded SGL lists on G7 hardware.")
Cc: stable@vger.kernel.org
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260707065304.949135-1-nihaal@cse.iitm.ac.in
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
