diff options
author | Dmitry Safonov <0x7f454c46@gmail.com> | 2024-04-13 04:42:52 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-04-16 14:35:05 +0300 |
commit | 4225dfa4535f219b03ae14147d9c6e7e82ec8df4 (patch) | |
tree | e3b786440767cd7e5d1c01628b1f61b67fbd12b8 /tools/testing/selftests/net/fin_ack_lat.c | |
parent | 75ce9506ee3dc66648a7d74ab3b0acfa364d6d43 (diff) | |
download | linux-4225dfa4535f219b03ae14147d9c6e7e82ec8df4.tar.xz |
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: c6df7b2361d7 ("selftests/net: Add TCP-AO RST test")
Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/selftests/net/fin_ack_lat.c')
0 files changed, 0 insertions, 0 deletions