linux-stable/tools/testing/selftests/net/tcp_ao/lib
Dmitry Safonov 6caf3adcc8 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: c6df7b2361 ("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>
2024-01-31 16:33:30 -08:00
..
aolib.h
kconfig.c
netlink.c selftest/tcp-ao: Set routes in a proper VRF table id 2024-01-02 13:27:48 +00:00
proc.c selftests/net: Fix various spelling mistakes in TCP-AO tests 2023-12-22 22:13:00 +00:00
repair.c
setup.c selftest/tcp-ao: Work on namespace-ified sysctl_optmem_max 2024-01-02 13:27:48 +00:00
sock.c selftests/net: Repair RST passive reset selftest 2024-01-31 16:33:30 -08:00
utils.c