aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
diff options
context:
space:
mode:
authorGeliang Tang <tanggeliang@kylinos.cn>2024-07-09 17:16:22 +0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-07-10 11:56:22 -0700
commit9004054b1629d481fedea2d92b880f79fc6fa81b (patch)
tree12b3e6845feb8f2fe2a2404a76dce3df324dddf1 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c
parentd9810c43f660fd502c5003244a5e9c181aa7df99 (diff)
selftests/bpf: Use connect_fd_to_fd in sk_lookup
This patch uses public helper connect_fd_to_fd() exported in network_helpers.h instead of using getsockname() + connect() in run_lookup_prog() in prog_tests/sk_lookup.c. This can simplify the code. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn> Link: https://lore.kernel.org/r/7077c277cde5a1864cdc244727162fb75c8bb9c5.1720515893.git.tanggeliang@kylinos.cn Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions