aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>2024-06-09 17:33:55 +0000
committerJakub Kicinski <kuba@kernel.org>2024-06-12 17:56:01 -0700
commit5a1b015d521d7e8d7e343c04a292151ad5de3611 (patch)
tree593885f0ed6e4f1c1f436982f20de896d09d509d /net/unix/af_unix.c
parent34cdd984782039c924b0476893202b37f6e74742 (diff)
downloadlinux-5a1b015d521d7e8d7e343c04a292151ad5de3611.tar.gz
linux-5a1b015d521d7e8d7e343c04a292151ad5de3611.tar.bz2
linux-5a1b015d521d7e8d7e343c04a292151ad5de3611.zip
ice: flower: validate encapsulation control flags
Encapsulation control flags are currently not used anywhere, so all flags are currently unsupported by all drivers. This patch adds validation of this assumption, so that encapsulation flags may be used in the future. In case any encapsulation control flags are masked, flow_rule_match_has_enc_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> Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com> Reviewed-by: Davide Caratti <dcaratti@redhat.com> Link: https://lore.kernel.org/r/20240609173358.193178-6-ast@fiberby.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions