patch 'net/mlx5: fix indirect flow action memory leak' has been queued to stable release 23.11.6
Shani Peretz
shperetz at nvidia.com
Sun Dec 21 15:56:58 CET 2025
Hi,
FYI, your patch has been queued to stable release 23.11.6
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/26/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/shanipr/dpdk-stable
This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/36bbad5f5b10ccd0867078812e99480fd09a7c0e
Thanks.
Shani
---
>From 36bbad5f5b10ccd0867078812e99480fd09a7c0e 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 c9d8d42874..eff4d36f8f 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -11620,6 +11620,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.43.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-12-21 16:54:20.700790721 +0200
+++ 0070-net-mlx5-fix-indirect-flow-action-memory-leak.patch 2025-12-21 16:54:17.263105000 +0200
@@ -1 +1 @@
-From a7aeb6ac678c6a0bd45584091529ac6fa6ac58b1 Mon Sep 17 00:00:00 2001
+From 36bbad5f5b10ccd0867078812e99480fd09a7c0e 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 c9d8d42874..eff4d36f8f 100644
@@ -22 +23 @@
-@@ -14959,6 +14959,7 @@ flow_hw_async_action_list_handle_destroy
+@@ -11620,6 +11620,7 @@ flow_hw_async_action_list_handle_destroy
More information about the stable
mailing list