Message ID | 1516801158-60944-1-git-send-email-harshitha.ramamurthy@intel.com |
---|---|
State | Superseded |
Delegated to: | Jeff Kirsher |
Headers | show |
Series | i40evf: Use the correct iterator to access the vlan filter | expand |
> -----Original Message----- > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On > Behalf Of harshitha.ramamurthy@intel.com > Sent: Wednesday, January 24, 2018 5:39 AM > To: intel-wired-lan@lists.osuosl.org > Subject: [Intel-wired-lan] [PATCH] i40evf: Use the correct iterator to access > the vlan filter > > From: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> > > A previous commit changed the name of the iterator to the vlan_filter_list. > Use the correct iterator to access the vlan filter. > > Reported-by: Julia Lawall <julia.lawall@lip6.fr> > Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com> > --- > drivers/net/ethernet/intel/i40evf/i40evf_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
diff --git a/drivers/net/ethernet/intel/i40evf/i40evf_main.c b/drivers/net/ethernet/intel/i40evf/i40evf_main.c index bcc5cf6..e0c64b9 100644 --- a/drivers/net/ethernet/intel/i40evf/i40evf_main.c +++ b/drivers/net/ethernet/intel/i40evf/i40evf_main.c @@ -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);