net/mlx4_en: Don't use vlan tag value as an indication for vlan presence
authorMoni Shoua <monis@mellanox.co.il>
Thu, 25 Oct 2012 01:12:48 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2012 07:34:15 +0000 (03:34 -0400)
commit2b39a06198a0fbaf44a69f435c5d2b4280a0c10e
treebca809ec01e878ac067353017447afdc8a03e70c
parent7208ca300725ebc1dd4c60511ed67a69c684eb91
net/mlx4_en: Don't use vlan tag value as an indication for vlan presence

The vlan tag can be zero. This is why it can't serve as an indication
that packet requires VLAN header in the TX flow.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c