Skip to content
Commit 4225dfa4 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Paolo Abeni
Browse files

selftests/tcp_ao: Make RST tests less flaky



Currently, "active reset" cases are flaky, because select() is called
for 3 sockets, while only 2 are expected to receive RST.
The idea of the third socket was to get into request_sock_queue,
but the test mistakenly attempted to connect() after the listener
socket was shut down.

Repair this test, it's important to check the different kernel
code-paths for signing RST TCP-AO segments.

Fixes: c6df7b23 ("selftests/net: Add TCP-AO RST test")
Reported-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarDmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 75ce9506
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment