]> 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)
commitc536694ac56727fa25cc7df2178bd741ff49228e
tree0fce2ae719bf9c848f1f17ae533ce536d27abc21
parent970ed761c56b79adeca17c39825eaf7ef14318a7
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