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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Thu Mar 26 13:57:39 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.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 03/28/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/924a03a97529228459ee0f2b998225aa84449367

Thanks.

Luca Boccassi

---
>From 924a03a97529228459ee0f2b998225aa84449367 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 1405103d40..619e91a0ce 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers/net/i40e/i40e_ethdev.c
@@ -7274,9 +7274,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.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-26 12:56:33.647043345 +0000
+++ 0005-net-i40e-fix-unused-variable.patch	2026-03-26 12:56:33.405543023 +0000
@@ -1 +1 @@
-From 0acd1bb678d8df61d4c55a5a236dae8de1538b7c Mon Sep 17 00:00:00 2001
+From 924a03a97529228459ee0f2b998225aa84449367 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 1405103d40..619e91a0ce 100644
+--- a/drivers/net/i40e/i40e_ethdev.c
++++ b/drivers/net/i40e/i40e_ethdev.c
+@@ -7274,9 +7274,7 @@ i40e_remove_macvlan_filters(struct i40e_vsi *vsi,
@@ -32 +33 @@
- 				return ret;
+ 				goto DONE;


More information about the stable mailing list