patch 'net/ice: fix DCF QoS buffer leak on commit' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:05:34 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
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/08/26. 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/32d20b92c2ea9a76dab159df6f12eb3a3c881014
Thanks.
Kevin
---
>From 32d20b92c2ea9a76dab159df6f12eb3a3c881014 Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Sat, 7 Nov 2026 23:52:14 +0000
Subject: [PATCH] net/ice: fix DCF QoS buffer leak on commit
[ upstream commit 7f2ebf1d7e763122e05389403d77a5beb47597dc ]
ice_dcf_hierarchy_commit() frees its temporary VF and TC bandwidth
buffers only on the error path, so every successful commit still leaks
them.
Free them on success as well.
Fixes: efd5d15a886b ("net/ice: fix memory leak in DCF QoS bandwidth config")
Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/intel/ice/ice_dcf_sched.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/intel/ice/ice_dcf_sched.c b/drivers/net/intel/ice/ice_dcf_sched.c
index 0ed408f8f8..5a8c287bce 100644
--- a/drivers/net/intel/ice/ice_dcf_sched.c
+++ b/drivers/net/intel/ice/ice_dcf_sched.c
@@ -850,4 +850,6 @@ static int ice_dcf_hierarchy_commit(struct rte_eth_dev *dev,
hw->tm_conf.committed = true;
+ free(vf_bw);
+ free(tc_bw);
return ret_val;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:50.726233130 +0000
+++ 0408-net-ice-fix-DCF-QoS-buffer-leak-on-commit.patch 2026-12-03 12:52:39.310278055 +0000
@@ -1 +1 @@
-From 7f2ebf1d7e763122e05389403d77a5beb47597dc Mon Sep 17 00:00:00 2001
+From 32d20b92c2ea9a76dab159df6f12eb3a3c881014 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7f2ebf1d7e763122e05389403d77a5beb47597dc ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 84342241aa..de28019c5b 100644
+index 0ed408f8f8..5a8c287bce 100644
More information about the stable
mailing list