diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-22 15:27:34 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-24 20:01:44 -0700 |
commit | 3c3adb22510cf1c9bb4c43e3f74650a8ff2d85d7 (patch) | |
tree | acc7ef6db5d5d8bceb3ea34997dfef9c5db73b33 /net/ipv4/tcp_output.c | |
parent | e199a5b29f199b1fb790d09f1cc12d5bc564fe37 (diff) | |
download | linux-3c3adb22510cf1c9bb4c43e3f74650a8ff2d85d7.tar.gz linux-3c3adb22510cf1c9bb4c43e3f74650a8ff2d85d7.tar.bz2 linux-3c3adb22510cf1c9bb4c43e3f74650a8ff2d85d7.zip |
octeontx2-pf: 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 <ast@fiberby.net>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Sunil Goutham <sgoutham@marvell.com>
Link: https://lore.kernel.org/r/20240422152735.175693-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions