aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <[email protected]>2024-04-22 15:27:27 +0000
committerJakub Kicinski <[email protected]>2024-05-03 01:19:13 +0000
commit3d549c382297f4d7646e327c817107a88d3f931b (patch)
tree91469fc5431cf2ef9c4a9f032db052aafd019ecc /tools/testing/selftests/net/lib/py/utils.py
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff)
downloadkernel-3d549c382297f4d7646e327c817107a88d3f931b.tar.gz
kernel-3d549c382297f4d7646e327c817107a88d3f931b.zip
net/mlx5e: flower: check for unsupported control flags
Use flow_rule_is_supp_control_flags() to reject filters with unsupported control flags. In case any unsupported control flags are masked, flow_rule_is_supp_control_flags() sets a NL extended error message, and we return -EOPNOTSUPP. Remove FLOW_DIS_FIRST_FRAG specific error message, and treat it as any other unsupported control flag. Only compile-tested. Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Reviewed-by: Jianbo Liu <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Tariq Toukan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions