Paolo Abeni wrote:
The mentioned test is failing in slow environments:
# SO_TXTIME ipv4 clock monotonic # ./so_txtime: recv: timeout: Resource temporarily unavailable not ok 1 selftests: net: so_txtime.sh # exit=1
The receiver is started in background and the sender could end-up transmitting the packet before the receiver is ready, so that the later recv times out.
Address the issue explcitly waiting for the socket being bound to the relevant port.
Fixes: af5136f95045 ("selftests/net: SO_TXTIME with ETF and FQ") Signed-off-by: Paolo Abeni pabeni@redhat.com
Reviewed-by: Willem de Bruijn willemb@google.com