diff options
| author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-04-18 16:17:49 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-23 00:42:31 +0000 |
| commit | 93a8540aac72772b5b5c933cea5aae2c88a7777e (patch) | |
| tree | fa8acb4315f7de1d392f4e372e24a1bcf897d4b1 /tools/testing/selftests/net/lib/py/utils.py | |
| parent | net: openvswitch: Check vport netdev name (diff) | |
| download | kernel-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
