]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8748a62ee540c9cf57f70eb8dd2db7a77192eff
treec5718158b7e665a5fa89745d6364ea1b8e4b4c5d
parent47d6c82e817ee2ae21ee2ed15ac2e495e4521110
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