* [PATCH v1] net/mlx5: fix indirect action memory leak
@ 2025-09-17 10:26 Rongwei Liu
2025-09-22 9:18 ` Raslan Darawsheh
0 siblings, 1 reply; 2+ messages in thread
From: Rongwei Liu @ 2025-09-17 10:26 UTC (permalink / raw)
To: dev, matan, viacheslavo, orika, suanmingm, thomas
Cc: getelson, stable, Bing Zhao, Dariusz Sosnowski
There is a handle that is not freed when using
indirect action list to manipulate legacy action.
Fixes: e26f50adb ("net/mlx5: support indirect list meter mark action")
Cc: getelson@nvidia.com
Cc: stable@dpdk.org
Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
Acked-by: Bing Zhao <bingz@nvidia.com>
---
drivers/net/mlx5/mlx5_flow_hw.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 2ca40b4146..336924b8d8 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -14959,6 +14959,7 @@ flow_hw_async_action_list_handle_destroy
legacy->handle,
user_data, error);
mlx5_indirect_list_remove_entry(&legacy->indirect);
+ mlx5_free(legacy);
goto end;
}
if (attr) {
--
2.27.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v1] net/mlx5: fix indirect action memory leak
2025-09-17 10:26 [PATCH v1] net/mlx5: fix indirect action memory leak Rongwei Liu
@ 2025-09-22 9:18 ` Raslan Darawsheh
0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2025-09-22 9:18 UTC (permalink / raw)
To: Rongwei Liu, dev, matan, viacheslavo, orika, suanmingm, thomas
Cc: getelson, stable, Bing Zhao, Dariusz Sosnowski
Hi,
On 17/09/2025 1:26 PM, Rongwei Liu wrote:
> There is a handle that is not freed when using
> indirect action list to manipulate legacy action.
>
> Fixes: e26f50adb ("net/mlx5: support indirect list meter mark action")
> Cc: getelson@nvidia.com
> Cc: stable@dpdk.org
> Signed-off-by: Rongwei Liu <rongweil@nvidia.com>
> Acked-by: Bing Zhao <bingz@nvidia.com>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-22 9:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-17 10:26 [PATCH v1] net/mlx5: fix indirect action memory leak Rongwei Liu
2025-09-22 9:18 ` Raslan Darawsheh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).