commit | bf2f3bca1c5dee845e436d8af96ca3811f2aa2f9 | [log] [tgz] |
---|---|---|
author | Eli Britstein <elibr@mellanox.com> | Thu Mar 14 14:41:40 2019 +0000 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Fri Apr 05 14:10:34 2019 -0700 |
tree | f88880a8cb140bd4b508b275a419f2b84c5abcd9 | |
parent | 8377629e76bcdf5ba1d3f2d220eebbfd947cfe7a [diff] |
net/mlx5e: Deny VLAN rewrite if there is no VLAN header match Rewrite of the packet in the VLAN offset may corrupt the packet if it's not VLAN tagged. Deny the rewrite in this case. Fixes: 37410902874c ("net/mlx5e: Support VLAN modify action") Signed-off-by: Eli Britstein <elibr@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>