diff options
author | Jianbo Liu <jianbol@mellanox.com> | 2019-05-14 21:18:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-16 12:02:42 -0700 |
commit | 12d5cbf89a6599f6bbd7b373dba0e74b5bd9c505 (patch) | |
tree | 5da86db80506018174b86c66d354735874e9439a /crypto/morus640.c | |
parent | bae9ed69029c7d499c57485593b2faae475fd704 (diff) | |
download | linux-12d5cbf89a6599f6bbd7b373dba0e74b5bd9c505.tar.gz linux-12d5cbf89a6599f6bbd7b373dba0e74b5bd9c505.tar.bz2 linux-12d5cbf89a6599f6bbd7b373dba0e74b5bd9c505.zip |
net/mlx5e: Fix calling wrong function to get inner vlan key and mask
When flow_rule_match_XYZ() functions were first introduced,
flow_rule_match_cvlan() for inner vlan is missing.
In mlx5_core driver, to get inner vlan key and mask, flow_rule_match_vlan()
is just called, which is wrong because it obtains outer vlan information by
FLOW_DISSECTOR_KEY_VLAN.
This commit fixes this by changing to call flow_rule_match_cvlan() after
it's added.
Fixes: 8f2566225ae2 ("flow_offload: add flow_rule and flow_match structures and use them")
Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/morus640.c')
0 files changed, 0 insertions, 0 deletions