]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: mptcp: validate MPJoin HMacFailure counters
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Mon, 7 Apr 2025 18:26:33 +0000 (20:26 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 8 Apr 2025 23:16:17 +0000 (16:16 -0700)
commit6767698cf9c144c8d4c72925e9a1cd2cbc031d25
tree1bd96c5b8b16215032afb551dc19675506fa563d
parent21c02e8272bc95ba0dd44943665c669029b42760
selftests: mptcp: validate MPJoin HMacFailure counters

The parent commit fixes an issue around these counters where one of them
-- MPJoinAckHMacFailure -- was wrongly incremented in some cases.

This makes sure the counter is always 0. It should be incremented only
in case of corruption, or a wrong implementation, which should not be
the case in these selftests.

Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250407-net-mptcp-hmac-failure-mib-v1-2-3c9ecd0a3a50@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh