]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add test cases for redirection between udp and unix
authorCong Wang <cong.wang@bytedance.com>
Sun, 4 Jul 2021 19:02:52 +0000 (12:02 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 16 Jul 2021 01:17:51 +0000 (18:17 -0700)
commite0b139511ede09c282a838202368f8e7c13eb726
tree0fce2ae719bf9c848f1f17ae533ce536d27abc21
parentdf8b8c30371bc414ec7508d3a55f33e6a9613fae
selftests/bpf: Add test cases for redirection between udp and unix

Add two test cases to ensure redirection between udp and unix
work bidirectionally.

Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210704190252.11866-12-xiyou.wangcong@gmail.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c