diff options
author | 2020-09-24 17:04:40 -0700 | |
---|---|---|
committer | 2020-09-25 13:58:02 -0700 | |
commit | c40a565a04afd0429ecc8a1a2c9aff897796118f (patch) | |
tree | 4324165f9dca8adaea453e86ce162c8bf0a71050 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: selftest: Adapt sock_fields test to use skel and global variables (diff) | |
download | wireguard-linux-c40a565a04afd0429ecc8a1a2c9aff897796118f.tar.xz wireguard-linux-c40a565a04afd0429ecc8a1a2c9aff897796118f.zip |
bpf: selftest: Use network_helpers in the sock_fields test
This patch uses start_server() and connect_to_fd() from network_helpers.h
to remove the network testing boiler plate codes. epoll is no longer
needed also since the timeout has already been taken care of also.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200925000440.3858639-1-kafai@fb.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions