diff options
| author | Asbjørn Sloth Tønnesen <[email protected]> | 2024-04-22 15:27:27 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-05-03 01:19:13 +0000 |
| commit | 3d549c382297f4d7646e327c817107a88d3f931b (patch) | |
| tree | 91469fc5431cf2ef9c4a9f032db052aafd019ecc /net/unix/sysctl_net_unix.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (diff) | |
| download | kernel-3d549c382297f4d7646e327c817107a88d3f931b.tar.gz kernel-3d549c382297f4d7646e327c817107a88d3f931b.zip | |
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 <[email protected]>
Reviewed-by: Jianbo Liu <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Acked-by: Tariq Toukan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
