diff options
author | Geliang Tang <tanggeliang@kylinos.cn> | 2024-05-05 14:35:12 +0300 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-05-09 23:40:38 +0300 |
commit | 65a3f0df44dd3db0f77e6ccff0a126969abc0da4 (patch) | |
tree | a233cb5a677e66f6c4e198e7b37e4439588f95de /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5059c73eca67e686dea42af079c41857cb00a5a6 (diff) | |
download | linux-65a3f0df44dd3db0f77e6ccff0a126969abc0da4.tar.xz |
selftests/bpf: Use connect_to_fd in test_tcp_check_syncookie
This patch uses public helper connect_to_fd() exported in network_helpers.h
instead of the local defined function connect_to_server() in
test_tcp_check_syncookie_user.c. This can avoid duplicate code.
Then the arguments "addr" and "len" of run_test() become useless, drop them
too.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Link: https://lore.kernel.org/r/e0ae6b790ac0abc7193aadfb2660c8c9eb0fe1f0.1714907662.git.tanggeliang@kylinos.cn
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions