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-18 16:18:15 +0000
committerJakub Kicinski <[email protected]>2024-04-23 00:42:34 +0000
commit077633afe07f4df8297e93332a4c07934c1f7b64 (patch)
tree72cedfe08d3a96d86200b89a5d2692d328a387e3 /tools/testing/selftests/net/lib/py/utils.py
parentdpaa2-switch: flower: validate control flags (diff)
downloadkernel-077633afe07f4df8297e93332a4c07934c1f7b64.tar.gz
kernel-077633afe07f4df8297e93332a4c07934c1f7b64.zip
net: ethernet: mtk_eth_soc: flower: validate control flags
This driver currently doesn't support any control flags. Use flow_rule_has_control_flags() to check for control flags, such as can be set through `tc flower ... ip_flags frag`. In case any control flags are masked, flow_rule_has_control_flags() sets a NL extended error message, and we return -EOPNOTSUPP. Only compile-tested. Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Reviewed-by: Simon Horman <[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