summaryrefslogtreecommitdiff
path: root/drivers/char/Makefile
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@nvidia.com>2022-07-04 23:44:05 +0300
committerDavid S. Miller <davem@davemloft.net>2022-07-06 14:44:39 +0300
commit4d1e07d83ccc87f210e5b852b0a5ea812a2f191c (patch)
tree01fa9fc940185a231a27369ef54ea437bff3d4d0 /drivers/char/Makefile
parent052f744f44462cc49b88a125b0f7b93a9e47a9dd (diff)
downloadlinux-4d1e07d83ccc87f210e5b852b0a5ea812a2f191c.tar.xz
net/mlx5e: Fix matchall police parameters validation
Referenced commit prepared the code for upcoming extension that allows mlx5 to offload police action attached to flower classifier. However, with regard to existing matchall classifier offload validation should be reversed as FLOW_ACTION_CONTINUE is the only supported notexceed police action type. Fix the problem by allowing FLOW_ACTION_CONTINUE for police action and extend scan_tc_matchall_fdb_actions() to only allow such actions with matchall classifier. Fixes: d97b4b105ce7 ("flow_offload: reject offload for all drivers with invalid police parameters") Signed-off-by: Vlad Buslov <vladbu@nvidia.com> Acked-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/char/Makefile')
0 files changed, 0 insertions, 0 deletions