aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/bpf/progs/bpf_iter_setsockopt_unix.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.co.jp>2022-01-13 09:28:46 +0900
committerAlexei Starovoitov <ast@kernel.org>2022-01-18 15:45:06 -0800
commit855d8e77ffb05be6e54c34dababccb20318aec00 (patch)
tree485d58380a9e6d788e3aaf55c32286eb9e5573d2 /tools/testing/selftests/bpf/progs/bpf_iter_setsockopt_unix.c
parentaf_unix: Refactor unix_next_socket(). (diff)
downloadwireguard-linux-855d8e77ffb05be6e54c34dababccb20318aec00.tar.xz
wireguard-linux-855d8e77ffb05be6e54c34dababccb20318aec00.zip
bpf: af_unix: Use batching algorithm in bpf unix iter.
The commit 04c7820b776f ("bpf: tcp: Bpf iter batching and lock_sock") introduces the batching algorithm to iterate TCP sockets with more consistency. This patch uses the same algorithm to iterate AF_UNIX sockets. Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.co.jp> Link: https://lore.kernel.org/r/20220113002849.4384-3-kuniyu@amazon.co.jp Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_iter_setsockopt_unix.c')
0 files changed, 0 insertions, 0 deletions