]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cd2d952aea50ecda4e01af98e973a10f46e6d88
treebca809ec01e878ac067353017447afdc8a03e70c
parent5af933dc495609288739f60d7240932d155af3cb
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