patch 'net/mlx5: fix indirect flow action memory leak' has been queued to stable release 24.11.4

Kevin Traynor ktraynor at redhat.com
Fri Oct 31 15:33:30 CET 2025


Hi,

FYI, your patch has been queued to stable release 24.11.4

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/05/25. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/02f8361a35b881d5fd26aeca528ffb140ed60db5

Thanks.

Kevin

---
>From 02f8361a35b881d5fd26aeca528ffb140ed60db5 Mon Sep 17 00:00:00 2001
From: Rongwei Liu <rongweil at nvidia.com>
Date: Wed, 17 Sep 2025 13:26:03 +0300
Subject: [PATCH] net/mlx5: fix indirect flow action memory leak

[ upstream commit a7aeb6ac678c6a0bd45584091529ac6fa6ac58b1 ]

There is a handle that is not freed when using
indirect action list to manipulate legacy action.

Fixes: e26f50adbf38 ("net/mlx5: support indirect list meter mark action")

Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
Acked-by: Bing Zhao <bingz at 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 110fb8e88a..be0129a96f 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -14658,4 +14658,5 @@ flow_hw_async_action_list_handle_destroy
 						    user_data, error);
 		mlx5_indirect_list_remove_entry(&legacy->indirect);
+		mlx5_free(legacy);
 		goto end;
 	}
-- 
2.51.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-10-31 13:53:54.925643197 +0000
+++ 0088-net-mlx5-fix-indirect-flow-action-memory-leak.patch	2025-10-31 13:53:52.248524030 +0000
@@ -1 +1 @@
-From a7aeb6ac678c6a0bd45584091529ac6fa6ac58b1 Mon Sep 17 00:00:00 2001
+From 02f8361a35b881d5fd26aeca528ffb140ed60db5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit a7aeb6ac678c6a0bd45584091529ac6fa6ac58b1 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index ee8f8c35e5..9a0aa1827e 100644
+index 110fb8e88a..be0129a96f 100644
@@ -22 +23 @@
-@@ -14960,4 +14960,5 @@ flow_hw_async_action_list_handle_destroy
+@@ -14658,4 +14658,5 @@ flow_hw_async_action_list_handle_destroy



More information about the stable mailing list