diff options
| author | Geliang Tang <[email protected]> | 2024-07-09 09:16:21 +0000 |
|---|---|---|
| committer | Martin KaFai Lau <[email protected]> | 2024-07-10 18:56:22 +0000 |
| commit | d9810c43f660fd502c5003244a5e9c181aa7df99 (patch) | |
| tree | 1719f50b8d553da3bec3cdce4164c6b27098f8d9 /tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c | |
| parent | selftests/bpf: Use start_server_str in sk_lookup (diff) | |
| download | kernel-d9810c43f660fd502c5003244a5e9c181aa7df99.tar.gz kernel-d9810c43f660fd502c5003244a5e9c181aa7df99.zip | |
selftests/bpf: Use start_server_addr in sk_lookup
This patch uses public helper start_server_addr() in udp_recv_send()
in prog_tests/sk_lookup.c to simplify the code.
And use ASSERT_OK_FD() to check fd returned by start_server_addr().
Acked-by: Eduard Zingerman <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Link: https://lore.kernel.org/r/f11cabfef4a2170ecb66a1e8e2e72116d8f621b3.1720515893.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/bpf_tcp_ca.c')
0 files changed, 0 insertions, 0 deletions
