Thread (8 messages) flat view 8 messages, 4 authors, 2020-03-17

Re: [PATCH bpf-next 1/3] selftests/bpf: fix race in tcp_rtt test

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2020-03-17 18:58:33
Also in: bpf

On 3/14/20 2:39 AM, Andrii Nakryiko wrote:
Previous attempt to make tcp_rtt more robust introduced a new race, in which
server_done might be set to true before server can actually accept any
connection. Fix this by unconditionally waiting for accept(). Given socket is
non-blocking, if there are any problems with client side, it should eventually
close listening FD and let server thread exit with failure.

Fixes: 4cd729fa022c ("selftests/bpf: Make tcp_rtt test more robust to failures")
Signed-off-by: Andrii Nakryiko <redacted>
Series applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help