diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-07-20 19:40:03 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 15:05:03 -0700 |
commit | af994e31b75e30941ef32796d0aa8510db00b32a (patch) | |
tree | a35f5044762f6e5135ec38119ba540d73a714c5e /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | aa8ebb270c66cea1f56a25d0f938036e91ad085a (diff) |
selftests/bpf: Drop make_client in sk_lookup
This patch uses the new helper connect_to_addr_str() in sk_lookup.c to
create the client socket and connect to the server, instead of using local
defined function make_client(). This local function can be dropped then.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/058199d7ab46802249dae066ca22c98f6be508ee.1721475357.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions