diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2015-10-27 15:36:19 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-28 03:27:09 (GMT) |
commit | 092bf0fc80f5fb7928244ad63d8a2a8df8a72a3e (patch) | |
tree | 030ae6e63221928815d8bdc87cd95e869c2782cc /net/ipv6/ip6_output.c | |
parent | e407f39afdc0741dcf20aed100b8e738ccab7cb1 (diff) | |
download | linux-092bf0fc80f5fb7928244ad63d8a2a8df8a72a3e.tar.xz |
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: e38af4faf01d ('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>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions