summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJakub Sitnicki <jakub@cloudflare.com>2020-07-22 18:17:20 +0200
committerAlexei Starovoitov <ast@kernel.org>2020-07-26 05:16:32 +0200
commit86176a1821a1237ad163d312ba0f2d7598757894 (patch)
tree6e1950b5b123d12ae995d0d86ec520bdac2cf997 /kernel
parentudp: Don't discard reuseport selection when group has connections (diff)
downloadlinux-86176a1821a1237ad163d312ba0f2d7598757894.tar.xz
linux-86176a1821a1237ad163d312ba0f2d7598757894.zip
selftests/bpf: Test BPF socket lookup and reuseport with connections
Cover the case when BPF socket lookup returns a socket that belongs to a reuseport group, and the reuseport group contains connected UDP sockets. Ensure that the presence of connected UDP sockets in reuseport group does not affect the socket lookup result. Socket selected by reuseport should always be used as result in such case. Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp> Link: https://lore.kernel.org/bpf/20200722161720.940831-3-jakub@cloudflare.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions