selftest/bpf: Add new tests in sockmap for unix stream to tcp.
authorJiang Wang <jiang.wang@bytedance.com>
Mon, 16 Aug 2021 19:03:24 +0000 (19:03 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 17 Aug 2021 01:44:09 +0000 (18:44 -0700)
commit31c50aeed5a12ded8856312c13bb6dc9e64dc87f
treec5718158b7e665a5fa89745d6364ea1b8e4b4c5d
parent75e0e27db6cf0d1eaa9f79c4bfab63e209394c0f
selftest/bpf: Add new tests in sockmap for unix stream to tcp.

Add two new test cases in sockmap tests, where unix stream is
redirected to tcp and vice versa.

Signed-off-by: Jiang Wang <jiang.wang@bytedance.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Cong Wang <cong.wang@bytedance.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/20210816190327.2739291-6-jiang.wang@bytedance.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c