]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: check subflow errors in close events
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Tue, 27 Jan 2026 19:27:26 +0000 (20:27 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 29 Jan 2026 04:58:50 +0000 (20:58 -0800)
commit2ef9e3a3845d0a20b62b01f5b731debd0364688d
tree0f0e321d8e52a834a74ba32f8e31abea1ac27748
parentdccf46179ddd6c04c14be8ed584dc54665f53f0e
selftests: mptcp: check subflow errors in close events

This validates the previous commit: subflow closed events should contain
an error field when a subflow got closed with an error, e.g. reset or
timeout.

For this test, the chk_evt_nr helper has been extended to check
attributes in the matched events.

In this test, the 2 subflow closed events should have an error.

The 'Fixes' tag here below is the same as the one from the previous
commit: this patch here is not fixing anything wrong in the selftests,
but it validates the previous fix for an issue introduced by this commit
ID.

Fixes: 15cc10453398 ("mptcp: deliver ssk errors to msk")
Cc: stable@vger.kernel.org
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260127-net-mptcp-dup-nl-events-v1-4-7f71e1bc4feb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh