diff options
author | 2024-01-30 03:51:54 +0000 | |
---|---|---|
committer | 2024-01-31 16:33:30 -0800 | |
commit | 6caf3adcc877b3470e98133d52b360ebe5f7a6a3 (patch) | |
tree | 8805c016e8a883d17e1535e6f21f85a45de33add /net/unix/af_unix.c | |
parent | selftests/net: Rectify key counters checks (diff) | |
download | wireguard-linux-6caf3adcc877b3470e98133d52b360ebe5f7a6a3.tar.xz wireguard-linux-6caf3adcc877b3470e98133d52b360ebe5f7a6a3.zip |
selftests/net: Repair RST passive reset selftest
Currently, the test is racy and seems to not pass anymore.
In order to rectify it, aim on TCP_TW_RST.
Doesn't seem way too good with this sleep() part, but it seems as
a reasonable compromise for the test. There is a plan in-line comment on
how-to improve it, going to do it on the top, at this moment I want it
to run on netdev/patchwork selftests dashboard.
It also slightly changes tcp_ao-lib in order to get SO_ERROR propagated
to test_client_verify() return value.
Fixes: c6df7b2361d7 ("selftests/net: Add TCP-AO RST test")
Signed-off-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20240130-tcp-ao-test-key-mgmt-v2-3-d190430a6c60@arista.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions