summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_cbq.c
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2013-07-26 05:46:36 -0700
committerDavid S. Miller <davem@davemloft.net>2013-07-28 13:17:17 -0700
commit7e44892c1b6bb499cb2f6d5c0f4afcc077a26074 (patch)
tree2817f5b5828cbfa1b8c5fdb15d35a316e13b302a /net/sched/sch_cbq.c
parent1eb9ac14c34a948bf1538bfb9034e8ab29099a64 (diff)
downloadblackbird-op-linux-7e44892c1b6bb499cb2f6d5c0f4afcc077a26074.tar.gz
blackbird-op-linux-7e44892c1b6bb499cb2f6d5c0f4afcc077a26074.zip
igb: fix vlan filtering in promisc mode when not in VT mode
This patch fixes a VT mode check to make sure VLAN filters are disabled when in promisc mode and VT is not enabled. The problem with the previous check was that: E1000_MRQC_ENABLE_VMDQ is defined as 0x00000003 but when not in VT mode: mrqc |= E1000_MRQC_ENABLE_RSS_4Q (0x00000002) So the above check will trigger regardless if VT mode is being used or not. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_cbq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud