Skip to contentSkip to conversation

i40evf: Use the correct iterator to access the vlan filter

PATCH New [email protected] 2 participants 2 messages Jan 24, 2018 – Jan 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i40evf: Use the correct iterator to access the vlan filter

From: Harshitha Ramamurthy <[email protected]>

A previous commit changed the name of the iterator to the vlan_filter_list. Use the correct iterator to access the vlan filter.

---
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/intel/i40evf/i40evf_main.c +1 -1
index bcc5cf6..e0c64b9 100644
@@ -1065,7 +1065,7 @@ void i40evf_down(struct i40evf_adapter *adapter)
 
 	/* remove all VLAN filters */
 	list_for_each_entry(vlf, &adapter->vlan_filter_list, list) {
-		f->remove = true;
+		vlf->remove = true;
 	}
 
 	spin_unlock_bh(&adapter->mac_vlan_list_lock);
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 i40evf: Use the correct iterator to access the vlan filter

Quoted 10 lines

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of harshitha.ramamurthy at intel.com
Sent: Wednesday, January 24, 2018 5:39 AM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] i40evf: Use the correct iterator to access the vlan filter

From: Harshitha Ramamurthy <[email protected]>

Quoted 8 lines

A previous commit changed the name of the iterator to the vlan_filter_list. Use the correct iterator to access the vlan filter.

---
 drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)