OSDN Git Service

selftests/bpf: Add a test case for unix sockmap
authorCong Wang <cong.wang@bytedance.com>
Sun, 4 Jul 2021 19:02:51 +0000 (12:02 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 16 Jul 2021 01:17:50 +0000 (18:17 -0700)
commit5ea905dd432205bfa314efb1b5353889e1804f11
tree6cf35f4aeec0ed23c6972d618763e10f8c148954
parent0626bc2ff6422008f5f1b8153837b83893a75e1b
selftests/bpf: Add a test case for unix sockmap

Add a test case to ensure redirection between two AF_UNIX
datagram sockets work.

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-11-xiyou.wangcong@gmail.com
tools/testing/selftests/bpf/prog_tests/sockmap_listen.c