diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-03-04 12:29:43 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-04 14:16:24 -0800 |
commit | f1becbed411c6fa29d7ce3def3a1dcd4f63f2d74 (patch) | |
tree | ce16f56c37b3e544e3a8b8abaa553dc54c9c27b7 /drivers/net/dsa | |
parent | 87e5e09427a7e58f46c0d8c3d83119191ee5e044 (diff) |
net: mscc: ocelot: properly reject destination IP keys in VCAP IS1
An attempt is made to warn the user about the fact that VCAP IS1 cannot
offload keys matching on destination IP (at least given the current half
key format), but sadly that warning fails miserably in practice, due to
the fact that it operates on an uninitialized "match" variable. We must
first decode the keys from the flow rule.
Fixes: 75944fda1dfe ("net: mscc: ocelot: offload ingress skbedit and vlan actions to VCAP IS1")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions