netdrv intel: always enable VLAN filtering except in promiscous mode
authorPatrick McHardy <kaber@trash.net>
Thu, 17 Jul 2008 03:16:14 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2008 03:16:14 +0000 (20:16 -0700)
commit78ed11a56bd8679aa6d51eb36b448342c59a7824
treed5feb0f95f0002841d4d099aaac9fecb640bc3b5
parent746b9f0228a1c607b3db67c80da1c2a963321926
netdrv intel: always enable VLAN filtering except in promiscous mode

Currently VLAN filtering is enabled when the first VLAN is added.
Obviously before that there's no point in receiving any VLAN packets.
Now that we disable VLAN filtering in promiscous mode, we can keep
the VLAN filters enabled the remaining time.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000/e1000_main.c
drivers/net/e1000e/netdev.c
drivers/net/igb/igb_main.c
drivers/net/ixgb/ixgb_main.c
drivers/net/ixgbe/ixgbe_main.c