diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-04-18 16:09:11 +0800 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-04-19 17:13:29 -0700 |
commit | 805b4d90c0df79a88907623b2528954a0125313d (patch) | |
tree | 61e8c8309491a7579791b04e71f5d830afe6b62d /tools/testing/selftests/bpf/prog_tests/sk_assign.c | |
parent | db9994d022ecd42006354609f6e4e3f57e5a4b03 (diff) |
selftests/bpf: Use connect_to_addr in cls_redirect
This patch uses public helper connect_to_addr() exported in
network_helpers.h instead of the local defined function connect_to_server()
in prog_tests/cls_redirect.c. This can avoid duplicate code.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/4a03ac92d2d392f8721f398fa449a83ac75577bc.1713427236.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sk_assign.c')
0 files changed, 0 insertions, 0 deletions