patch 'net/ice: fix DCF QoS buffer leak on commit' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 16 23:51:57 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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/18/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/bluca/dpdk-stable

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/b5309f297f3e7142589420315cc09012995f9b65

Thanks.

Luca Boccassi

---
>From b5309f297f3e7142589420315cc09012995f9b65 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/ice/ice_dcf_sched.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
index 2e1bc62e02..939ada378c 100644
--- a/drivers/net/ice/ice_dcf_sched.c
+++ b/drivers/net/ice/ice_dcf_sched.c
@@ -849,6 +849,8 @@ static int ice_dcf_hierarchy_commit(struct rte_eth_dev *dev,
 		   ICE_NONDMA_TO_NONDMA);
 
 	hw->tm_conf.committed = true;
+	free(vf_bw);
+	free(tc_bw);
 	return ret_val;
 
 fail_clear:
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-11-16 22:52:18.212137611 +0000
+++ 0043-net-ice-fix-DCF-QoS-buffer-leak-on-commit.patch	2026-11-16 22:52:16.480233272 +0000
@@ -1 +1 @@
-From 7f2ebf1d7e763122e05389403d77a5beb47597dc Mon Sep 17 00:00:00 2001
+From b5309f297f3e7142589420315cc09012995f9b65 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7f2ebf1d7e763122e05389403d77a5beb47597dc ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
- drivers/net/intel/ice/ice_dcf_sched.c | 2 ++
+ drivers/net/ice/ice_dcf_sched.c | 2 ++
@@ -21,4 +22,4 @@
-diff --git a/drivers/net/intel/ice/ice_dcf_sched.c b/drivers/net/intel/ice/ice_dcf_sched.c
-index 84342241aa..de28019c5b 100644
---- a/drivers/net/intel/ice/ice_dcf_sched.c
-+++ b/drivers/net/intel/ice/ice_dcf_sched.c
+diff --git a/drivers/net/ice/ice_dcf_sched.c b/drivers/net/ice/ice_dcf_sched.c
+index 2e1bc62e02..939ada378c 100644
+--- a/drivers/net/ice/ice_dcf_sched.c
++++ b/drivers/net/ice/ice_dcf_sched.c


More information about the stable mailing list