diff options
| author | Kuniyuki Iwashima <[email protected]> | 2023-09-11 18:36:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-09-13 06:18:04 +0000 |
| commit | c6d277064b1da7f9015b575a562734de87a7e463 (patch) | |
| tree | e21d6f23771be4a2447624c4c23e26622293d759 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | ipv6: fix ip6_sock_set_addr_preferences() typo (diff) | |
| download | kernel-c6d277064b1da7f9015b575a562734de87a7e463.tar.gz kernel-c6d277064b1da7f9015b575a562734de87a7e463.zip | |
tcp: Factorise sk_family-independent comparison in inet_bind2_bucket_match(_addr_any).
This is a prep patch to make the following patches cleaner that touch
inet_bind2_bucket_match() and inet_bind2_bucket_match_addr_any().
Both functions have duplicated comparison for netns, port, and l3mdev.
Let's factorise them.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
