]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ixgbe: Fix receive on real device when VLANs are configured
authorLucy Liu <lucy.liu@intel.com>
Thu, 13 Aug 2009 14:09:38 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 03:13:23 +0000 (20:13 -0700)
commit8a62babfb87aa5911e87e0ce38381bdfdc4a2b83
tree5cf210a10965bceb90452156b1be8c7957c8a243
parent17e78b0655da20f2fc2bbde3b8252dac07c82914
ixgbe: Fix receive on real device when VLANs are configured

Traffic received with a priority tag (VID = 0) and non-zero priority value was
incorrectly handled by the VLAN packet code path due to a check on zero for
the whole VLAN tag instead of just the VID.

This patch masked out the priority field when checking the vlan tag for
received VLAN packets.

Signed-off-by: Lucy Liu <lucy.liu@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c