patch 'net/ice: fix DCF queue config buffer leak' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:05:33 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/680f2a5f5502662753cc4c624e0bf657df50de03
Thanks.
Kevin
---
>From 680f2a5f5502662753cc4c624e0bf657df50de03 Mon Sep 17 00:00:00 2001
From: Anurag Mandal <anurag.mandal at intel.com>
Date: Sat, 7 Nov 2026 23:52:13 +0000
Subject: [PATCH] net/ice: fix DCF queue config buffer leak
[ upstream commit 4cca847273d4925c86f8e995d0ec385e3d4a77e9 ]
ice_dcf_configure_queues() returns -EINVAL without freeing the virtchnl
message it allocated when the required Rx descriptor ID (RXDID) is not
supported, so the message leaks on each failed port start.
Free it before return.
Fixes: 4b0d391f0eab ("net/ice: add queue config in DCF")
Fixes: f3fddc93de16 ("net/ice: fix build with 16-byte Rx descriptor in DCF")
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.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/intel/ice/ice_dcf.c b/drivers/net/intel/ice/ice_dcf.c
index 7791c334cc..10917a3921 100644
--- a/drivers/net/intel/ice/ice_dcf.c
+++ b/drivers/net/intel/ice/ice_dcf.c
@@ -1233,4 +1233,5 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
} else {
PMD_DRV_LOG(ERR, "RXDID 16 is not supported");
+ rte_free(vc_config);
return -EINVAL;
}
@@ -1245,4 +1246,5 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
} else {
PMD_DRV_LOG(ERR, "RXDID == 0 is not supported");
+ rte_free(vc_config);
return -EINVAL;
}
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:50.698988445 +0000
+++ 0407-net-ice-fix-DCF-queue-config-buffer-leak.patch 2026-12-03 12:52:39.310097440 +0000
@@ -1 +1 @@
-From 4cca847273d4925c86f8e995d0ec385e3d4a77e9 Mon Sep 17 00:00:00 2001
+From 680f2a5f5502662753cc4c624e0bf657df50de03 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4cca847273d4925c86f8e995d0ec385e3d4a77e9 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 0295ebe4fe..f94856ad9c 100644
+index 7791c334cc..10917a3921 100644
More information about the stable
mailing list