linux_dsm_epyc7002/drivers/net/ethernet/intel/ixgbe
Greg Rose 026ac67741 ixgbe: Fix a bug in setting VF VLAN via PF
The PF driver does not check if the administrator has already set a VF
VLAN via the PF driver before setting the new VLAN.  This results in
the following scenario:

A) Administrator sets VF <n> to VLAN 100
B) Administrator sets VF <x> to VLAN 100
C) Administrator sets VF <n> to VLAN 200
D) The VF <n> driver continues to be able to receive traffic on VLAN
   100 because the VLVFB pool enable bit for that VF was left set
   instead of being cleared as it should be.

This fix ensures that the old VLAN filter for VF <n> is first removed
and the pool bit enable for VF <n> is cleared so that it no longer
receives traffic on VLAN 100.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-04-18 14:52:18 -04:00
..
ixgbe_82598.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_82599.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_common.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_common.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82598.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82598.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_82599.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb_nl.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_dcb.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_debugfs.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_ethtool.c hlist: drop the node parameter from iterators 2013-02-27 19:10:24 -08:00
ixgbe_fcoe.c drivers: net: Remove remaining alloc/OOM messages 2013-02-08 17:44:39 -05:00
ixgbe_fcoe.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_lib.c ixgbe: Add function for setting XPS queue mapping 2013-02-15 21:52:03 -08:00
ixgbe_main.c ixgbe: fix registration order of driver and DCA nofitication 2013-04-05 00:49:13 -04:00
ixgbe_mbx.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_mbx.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_phy.c ixgbe: cleanup error checking in ixgbe_identify_sfp_module_generic() 2013-02-15 23:28:15 -08:00
ixgbe_phy.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_ptp.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sriov.c ixgbe: Fix a bug in setting VF VLAN via PF 2013-04-18 14:52:18 -04:00
ixgbe_sriov.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_sysfs.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_type.h ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe_x540.c ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00
ixgbe.h ixgbe: Update DESC_NEEDED define to adjust for changes to MAX_SKB_FRAGS 2013-02-15 23:59:32 -08:00
Makefile ixgbe: update date to 2013 2013-02-05 01:44:13 -08:00