diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-22 15:27:27 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-05-02 18:19:13 -0700 |
commit | 3d549c382297f4d7646e327c817107a88d3f931b (patch) | |
tree | 91469fc5431cf2ef9c4a9f032db052aafd019ecc /net/core/utils.c | |
parent | e958da0ddbe831197a0023251880a4a09d5ba268 (diff) |
net/mlx5e: 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: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Acked-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://lore.kernel.org/r/20240422152728.175677-1-ast@fiberby.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions