summaryrefslogtreecommitdiff
path: root/lib/check_signature.c
diff options
context:
space:
mode:
authorDmytro Linkin <dmitrolin@mellanox.com>2020-04-01 14:41:27 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2020-04-08 15:46:44 -0700
commit70f478ca085deec4d6c1f187f773f5827ddce7e8 (patch)
tree08925ac711da07c73cb883788c21ab139c3badb0 /lib/check_signature.c
parentd19987ccf57501894fdd8fadc2e55e4a3dd57239 (diff)
net/mlx5e: Fix nest_level for vlan pop action
Current value of nest_level, assigned from net_device lower_level value, does not reflect the actual number of vlan headers, needed to pop. For ex., if we have untagged ingress traffic sended over vlan devices, instead of one pop action, driver will perform two pop actions. To fix that, calculate nest_level as difference between vlan device and parent device lower_levels. Fixes: f3b0a18bb6cb ("net: remove unnecessary variables and callback") Signed-off-by: Dmytro Linkin <dmitrolin@mellanox.com> Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'lib/check_signature.c')
0 files changed, 0 insertions, 0 deletions