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

Shani Peretz shperetz at nvidia.com
Wed Apr 15 12:00:06 CEST 2026


Hi,

FYI, your patch has been queued to stable release 23.11.7

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

This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/158bd0a77d070bf61cceca00193872a331e74bef

Thanks.

Shani

---
>From 158bd0a77d070bf61cceca00193872a331e74bef 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/i40e/i40e_ethdev.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 4e8d7dd478..c656127f94 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -7129,9 +7129,7 @@ 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.43.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-04-14 14:44:34.947053901 +0300
+++ 0065-net-i40e-fix-unused-variable.patch	2026-04-14 14:44:28.728503000 +0300
@@ -1 +1 @@
-From 0acd1bb678d8df61d4c55a5a236dae8de1538b7c Mon Sep 17 00:00:00 2001
+From 158bd0a77d070bf61cceca00193872a331e74bef Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0acd1bb678d8df61d4c55a5a236dae8de1538b7c ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -16 +17 @@
- drivers/net/intel/i40e/i40e_ethdev.c | 4 +---
+ drivers/net/i40e/i40e_ethdev.c | 4 +---
@@ -19,5 +20,5 @@
-diff --git a/drivers/net/intel/i40e/i40e_ethdev.c b/drivers/net/intel/i40e/i40e_ethdev.c
-index af736f59be..100a751225 100644
---- a/drivers/net/intel/i40e/i40e_ethdev.c
-+++ b/drivers/net/intel/i40e/i40e_ethdev.c
-@@ -7243,9 +7243,7 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
+diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
+index 4e8d7dd478..c656127f94 100644
+--- a/drivers/net/i40e/i40e_ethdev.c
++++ b/drivers/net/i40e/i40e_ethdev.c
+@@ -7129,9 +7129,7 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
@@ -32 +33 @@
- 				return ret;
+ 				goto DONE;


More information about the stable mailing list