diff options
author | Jakub Sitnicki <jakub@cloudflare.com> | 2020-04-29 20:11:54 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-04-29 23:31:00 +0200 |
commit | 0b9ad56b1ea66382a3dcc8e3e7c54967bf8c6d94 (patch) | |
tree | 41b9c7b0452287c11e5e08c8a6ee067d664db85e /kernel | |
parent | 34a2cc6eee809f974111979f4c2b3c62aaaad457 (diff) | |
download | linux-0b9ad56b1ea66382a3dcc8e3e7c54967bf8c6d94.tar.bz2 |
selftests/bpf: Use SOCKMAP for server sockets in bpf_sk_assign test
Update bpf_sk_assign test to fetch the server socket from SOCKMAP, now that
map lookup from BPF in SOCKMAP is enabled. This way the test TC BPF program
doesn't need to know what address server socket is bound to.
Signed-off-by: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200429181154.479310-4-jakub@cloudflare.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions