diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-07-20 19:40:04 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-07-29 15:05:03 -0700 |
commit | 01c2f776ed372155f9e80bd787324f26601914de (patch) | |
tree | aa93aacdaf3362c00307223ed3c568829a623891 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | af994e31b75e30941ef32796d0aa8510db00b32a (diff) |
selftests/bpf: Drop make_socket in sk_lookup
This patch uses the public network helers client_socket() + make_sockaddr()
in sk_lookup.c to create the client socket, set the timeout sockopts, and
make the connecting address. The local defined function make_socket()
can be dropped then.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/588771977ac48c27f73526d8421a84b91d7cf218.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/autoload.c')
0 files changed, 0 insertions, 0 deletions