diff options
| author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-04-18 16:18:01 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-23 00:42:33 +0000 |
| commit | af7dfa94c2f9a2a2e7a427d1a6287285fd0402b9 (patch) | |
| tree | a12dfa6e1390220593718ae6e2d3c660b058c00f /tools/testing/selftests/net/lib/py/utils.py | |
| parent | cxgb4: flower: validate control flags (diff) | |
| download | kernel-af7dfa94c2f9a2a2e7a427d1a6287285fd0402b9.tar.gz kernel-af7dfa94c2f9a2a2e7a427d1a6287285fd0402b9.zip | |
dpaa2-switch: 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.
Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Reviewed-by: Ioana Ciornei <[email protected]>
Tested-by: Ioana Ciornei <[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
