aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2020-03-11 22:27:49 +0000
committerAlexei Starovoitov <[email protected]>2020-03-13 19:49:51 +0000
commit4cd729fa022cb5142e5b65f25589af61c8148cf6 (patch)
tree5759fc33f51ed252abef521733f9e4b67fb2d560 /scripts/bpf_helpers_doc.py
parentselftests/bpf: Guarantee that useep() calls nanosleep() syscall (diff)
downloadkernel-4cd729fa022cb5142e5b65f25589af61c8148cf6.tar.gz
kernel-4cd729fa022cb5142e5b65f25589af61c8148cf6.zip
selftests/bpf: Make tcp_rtt test more robust to failures
Switch to non-blocking accept and wait for server thread to exit before proceeding. I noticed that sometimes tcp_rtt server thread failure would "spill over" into other tests (that would run after tcp_rtt), probably just because server thread exits much later and tcp_rtt doesn't wait for it. v1->v2: - add usleep() while waiting on initial non-blocking accept() (Stanislav); Fixes: 8a03222f508b ("selftests/bpf: test_progs: fix client/server race in tcp_rtt") Signed-off-by: Andrii Nakryiko <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Reviewed-by: Stanislav Fomichev <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions