]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: sockopt: save nstat infos
authorGeliang Tang <tanggeliang@kylinos.cn>
Tue, 14 Jan 2025 18:03:12 +0000 (19:03 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 21:21:14 +0000 (13:21 -0800)
commit3257d4cb8d5c0090a87053f16086ef1e2c32dc33
treec89ddd46e27e13b7ec3f554fd1075c0c51a1478d
parent894dae026bf6348766cf1951da63af6e36e4d90a
selftests: mptcp: sockopt: save nstat infos

Similar to the way nstat information is stored in mptcp_connect.sh
and mptcp_join.sh scripts, this patch adds a similar way for
mptcp_sockopt.sh and displays the nstat information when errors
occur.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250114-net-next-mptcp-st-more-debug-err-v1-2-2ffb16a6cf35@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_sockopt.sh