patch 'net/i40e: fix unused variable' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Fri Mar 27 11:01:07 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

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

Thanks.

Kevin

---
>From be03ef43b16c8fdc4c21371791fa5512d4c75e36 Mon Sep 17 00:00:00 2001
From: John McNamara <john.mcnamara at intel.com>
Date: Wed, 11 Mar 2026 16:19:15 +0000
Subject: [PATCH] net/i40e: fix unused variable

[ upstream commit 0acd1bb678d8df61d4c55a5a236dae8de1538b7c ]

Fix issue where I40E_SUCCESS was assigned to a return variable
but was overwritten before it could be used.

Coverity issue: 501831
Fixes: baf1d4cd8aed ("net/i40e: upgrade AQ command of MAC/VLAN remove")

Signed-off-by: John McNamara <john.mcnamara at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/intel/i40e/i40e_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
index b891215191..5381071df2 100644
--- a/drivers/net/intel/i40e/i40e_ethdev.c
+++ b/drivers/net/intel/i40e/i40e_ethdev.c
@@ -7274,7 +7274,5 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
 		if (ret != I40E_SUCCESS) {
 			/* Do not report as an error when firmware returns ENOENT */
-			if (aq_status == I40E_AQ_RC_ENOENT) {
-				ret = I40E_SUCCESS;
-			} else {
+			if (aq_status != I40E_AQ_RC_ENOENT) {
 				PMD_DRV_LOG(ERR, "Failed to remove macvlan filter");
 				goto DONE;
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-27 09:58:26.361511998 +0000
+++ 0007-net-i40e-fix-unused-variable.patch	2026-03-27 09:58:26.123625509 +0000
@@ -1 +1 @@
-From 0acd1bb678d8df61d4c55a5a236dae8de1538b7c Mon Sep 17 00:00:00 2001
+From be03ef43b16c8fdc4c21371791fa5512d4c75e36 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0acd1bb678d8df61d4c55a5a236dae8de1538b7c ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index af736f59be..100a751225 100644
+index b891215191..5381071df2 100644
@@ -23 +24 @@
-@@ -7244,7 +7244,5 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
+@@ -7274,7 +7274,5 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
@@ -31 +32 @@
- 				return ret;
+ 				goto DONE;



More information about the stable mailing list