patch 'net/ark: remove double mbuf free' has been queued to stable release 22.11.11

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Oct 27 17:19:34 CET 2025


Hi,

FYI, your patch has been queued to stable release 22.11.11

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/bluca/dpdk-stable

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

Thanks.

Luca Boccassi

---
>From ea33b28d560769ab9bcc6b8c076f4df6bb7bc104 Mon Sep 17 00:00:00 2001
From: John Miller <john.miller at atomicrules.com>
Date: Mon, 15 Sep 2025 11:02:02 -0400
Subject: [PATCH] net/ark: remove double mbuf free

[ upstream commit f8c85054cc9cb160ca12e1bf96b569e654f96c74 ]

Fixes: 8b154b690266 ("net/ark: add Rx initial version")

Signed-off-by: John Miller <john.miller at atomicrules.com>
---
 drivers/net/ark/ark_ethdev_rx.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/net/ark/ark_ethdev_rx.c b/drivers/net/ark/ark_ethdev_rx.c
index 38bc69dff4..a016bf77c0 100644
--- a/drivers/net/ark/ark_ethdev_rx.c
+++ b/drivers/net/ark/ark_ethdev_rx.c
@@ -530,7 +530,6 @@ void
 eth_ark_dev_rx_queue_release(void *vqueue)
 {
 	struct ark_rx_queue *queue;
-	uint32_t i;
 
 	queue = (struct ark_rx_queue *)vqueue;
 	if (queue == 0)
@@ -543,9 +542,6 @@ eth_ark_dev_rx_queue_release(void *vqueue)
 	/* Need to clear out mbufs here, dropping packets along the way */
 	eth_ark_rx_queue_drain(queue);
 
-	for (i = 0; i < queue->queue_size; ++i)
-		rte_pktmbuf_free(queue->reserve_q[i]);
-
 	rte_free(queue->reserve_q);
 	rte_free(queue->paddress_q);
 	rte_free(queue);
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-10-27 15:54:36.860087164 +0000
+++ 0056-net-ark-remove-double-mbuf-free.patch	2025-10-27 15:54:34.831950453 +0000
@@ -1 +1 @@
-From f8c85054cc9cb160ca12e1bf96b569e654f96c74 Mon Sep 17 00:00:00 2001
+From ea33b28d560769ab9bcc6b8c076f4df6bb7bc104 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f8c85054cc9cb160ca12e1bf96b569e654f96c74 ]
+
@@ -7 +8,0 @@
-Cc: stable at dpdk.org
@@ -15 +16 @@
-index 2fff0ffded..ce458a5a96 100644
+index 38bc69dff4..a016bf77c0 100644
@@ -18 +19 @@
-@@ -538,7 +538,6 @@ void
+@@ -530,7 +530,6 @@ void
@@ -26 +27 @@
-@@ -551,9 +550,6 @@ eth_ark_dev_rx_queue_release(void *vqueue)
+@@ -543,9 +542,6 @@ eth_ark_dev_rx_queue_release(void *vqueue)


More information about the stable mailing list