diff options
| author | Jeremy Kerr <[email protected]> | 2024-02-19 09:51:48 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-02-22 12:32:54 +0000 |
| commit | fc944ecc4f1a287882d90441360a0ba61d45fd8b (patch) | |
| tree | 1ec2550d76dd69e4587d12d33be856aaee0a9df1 /net/mctp/test/utils.c | |
| parent | net: mctp: Add some detail on the key allocation implementation (diff) | |
| download | kernel-fc944ecc4f1a287882d90441360a0ba61d45fd8b.tar.gz kernel-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 <[email protected]>
Reported-by: Anthony <[email protected]>
Signed-off-by: Jeremy Kerr <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/mctp/test/utils.c')
0 files changed, 0 insertions, 0 deletions
