linux-hardened/drivers/net/ethernet/mellanox
Jack Morgenstein 092bf0fc80 net/mlx4_en: Explicitly set no vlan tags in WQE ctrl segment when no vlan is present
We do not set the ins_vlan field to zero when no vlan id is present in the packet.

Since WQEs in the TX ring are not zeroed out between uses, this oversight
could result in having vlan flags present in the WQE ctrl segment when no
vlan is preset.

Fixes: e38af4faf0 ('net/mlx4_en: Add support for hardware accelerated 802.1ad vlan')
Reported-by: Gideon Naim <gideonn@mellanox.com>
Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-27 20:27:09 -07:00
..
mlx4 net/mlx4_en: Explicitly set no vlan tags in WQE ctrl segment when no vlan is present 2015-10-27 20:27:09 -07:00
mlx5/core net/mlx5e: Disable VLAN filter in promiscuous mode 2015-10-09 07:43:43 -07:00
mlxsw mlxsw: core: Fix race condition in __mlxsw_emad_transmit 2015-10-15 06:03:06 -07:00
Kconfig mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00
Makefile mlxsw: Introduce Mellanox switch driver core 2015-07-30 00:04:59 -07:00