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:17:49 +0000
committerJakub Kicinski <[email protected]>2024-04-23 00:42:31 +0000
commit93a8540aac72772b5b5c933cea5aae2c88a7777e (patch)
treefa8acb4315f7de1d392f4e372e24a1bcf897d4b1 /tools/testing/selftests/net/lib/py/utils.py
parentnet: openvswitch: Check vport netdev name (diff)
downloadkernel-93a8540aac72772b5b5c933cea5aae2c88a7777e.tar.gz
kernel-93a8540aac72772b5b5c933cea5aae2c88a7777e.zip
cxgb4: flower: validate control flags
This driver currently doesn't support any control flags. Use flow_rule_match_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_match_has_control_flags() sets a NL extended error message, and we return -EOPNOTSUPP. Only compile-tested. Only compile tested, no hardware available. 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