diff options
author | Eli Britstein <elibr@mellanox.com> | 2019-03-14 14:41:40 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-04-05 14:10:34 -0700 |
commit | bf2f3bca1c5dee845e436d8af96ca3811f2aa2f9 (patch) | |
tree | f88880a8cb140bd4b508b275a419f2b84c5abcd9 /block/elevator.c | |
parent | 8377629e76bcdf5ba1d3f2d220eebbfd947cfe7a (diff) | |
download | linux-bf2f3bca1c5dee845e436d8af96ca3811f2aa2f9.tar.bz2 |
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>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions