]> 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)
commit1ba8527a2792c29fcde1aee34da4cdec72a82fa1
treebca809ec01e878ac067353017447afdc8a03e70c
parent6947d28e80adab1b0b8648f3b0855f638b68b17b
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