aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2024-02-19 17:51:48 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-02-22 13:32:54 +0100
commitfc944ecc4f1a287882d90441360a0ba61d45fd8b (patch)
tree1ec2550d76dd69e4587d12d33be856aaee0a9df1 /net/unix/sysctl_net_unix.c
parentaee6479a458e2c5027e558cfe26c60c37f8efc80 (diff)
downloadlinux-fc944ecc4f1a287882d90441360a0ba61d45fd8b.tar.gz
linux-fc944ecc4f1a287882d90441360a0ba61d45fd8b.tar.bz2
linux-fc944ecc4f1a287882d90441360a0ba61d45fd8b.zip
net: mctp: make key lookups match the ANY address on either local or peer
We may have an ANY address in either the local or peer address of a sk_key, and may want to match on an incoming daddr or saddr being ANY. Do this by altering the conflicting-tag lookup to also accept ANY as the local/peer address. We don't want mctp_address_matches to match on the requested EID being ANY, as that is a specific lookup case on packet input. Reported-by: Eric Chuang <echuang@google.com> Reported-by: Anthony <anthonyhkf@google.com> Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions