diff options
author | Lucas Karpinski <lkarpins@redhat.com> | 2023-11-14 10:11:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-11-16 22:31:56 +0000 |
commit | 3bdd9fd29cb0f136b307559a19c107210ad5c314 (patch) | |
tree | 5ff5536915be13ff000f8e46ff42b0088ea45885 /net/ipv4/tcp_timer.c | |
parent | e47ef9eb5bb8fdc9fafa5eaf82be7a922af89b1e (diff) |
selftests/net: synchronize udpgro tests' tx and rx connection
The sockets used by udpgso_bench_tx aren't always ready when
udpgso_bench_tx transmits packets. This issue is more prevalent in -rt
kernels, but can occur in both. Replace the hacky sleep calls with a
function that checks whether the ports in the namespace are ready for
use.
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Lucas Karpinski <lkarpins@redhat.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_timer.c')
0 files changed, 0 insertions, 0 deletions