patch 'net/ice: fix DCF queue config buffer leak' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Nov 16 23:51:56 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/383fe35c6a68c7da4b3fe30374efc9413d70bf52
Thanks.
Luca Boccassi
---
>From 383fe35c6a68c7da4b3fe30374efc9413d70bf52 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/ice/ice_dcf.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
index 5dcd07ac17..1313adb1de 100644
--- a/drivers/net/ice/ice_dcf.c
+++ b/drivers/net/ice/ice_dcf.c
@@ -1233,6 +1233,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
"Queue[%d]", vc_qp->rxq.rxdid, i);
} else {
PMD_DRV_LOG(ERR, "RXDID 16 is not supported");
+ rte_free(vc_config);
return -EINVAL;
}
#else
@@ -1245,6 +1246,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
"Queue[%d]", vc_qp->rxq.rxdid, i);
} else {
PMD_DRV_LOG(ERR, "RXDID == 0 is not supported");
+ rte_free(vc_config);
return -EINVAL;
}
#endif
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-16 22:52:18.174295043 +0000
+++ 0042-net-ice-fix-DCF-queue-config-buffer-leak.patch 2026-11-16 22:52:16.480233272 +0000
@@ -1 +1 @@
-From 4cca847273d4925c86f8e995d0ec385e3d4a77e9 Mon Sep 17 00:00:00 2001
+From 383fe35c6a68c7da4b3fe30374efc9413d70bf52 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4cca847273d4925c86f8e995d0ec385e3d4a77e9 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
- drivers/net/intel/ice/ice_dcf.c | 2 ++
+ drivers/net/ice/ice_dcf.c | 2 ++
@@ -22,5 +23,5 @@
-diff --git a/drivers/net/intel/ice/ice_dcf.c b/drivers/net/intel/ice/ice_dcf.c
-index 0295ebe4fe..f94856ad9c 100644
---- a/drivers/net/intel/ice/ice_dcf.c
-+++ b/drivers/net/intel/ice/ice_dcf.c
-@@ -1232,6 +1232,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
+diff --git a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c
+index 5dcd07ac17..1313adb1de 100644
+--- a/drivers/net/ice/ice_dcf.c
++++ b/drivers/net/ice/ice_dcf.c
+@@ -1233,6 +1233,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
@@ -34 +35 @@
-@@ -1244,6 +1245,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
+@@ -1245,6 +1246,7 @@ ice_dcf_configure_queues(struct ice_dcf_hw *hw)
More information about the stable
mailing list