summaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>2024-04-17 17:44:06 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-19 03:08:30 +0300
commitb1bf8600572d8854f94c56f97ba3d392a9bf5f2f (patch)
tree2191dda9e6d65dc527fbb0eb42d56f48eff49c32 /net/unix/sysctl_net_unix.c
parent435f9fcc0e44b419cfd7d5742ca6f0be62d10dbb (diff)
downloadlinux-b1bf8600572d8854f94c56f97ba3d392a9bf5f2f.tar.xz
net: dsa: felix: 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 <ast@fiberby.net> Link: https://lore.kernel.org/r/20240417144407.104241-1-ast@fiberby.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions