]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: mptcp: add test for extra_subflows underflow on userspace PM
authorTao Cui <cuitao@kylinos.cn>
Tue, 2 Jun 2026 12:14:13 +0000 (22:14 +1000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Jun 2026 02:04:26 +0000 (19:04 -0700)
commit06fd2bec7aebf393288e4b78924482fe170caabc
tree5352ee7515b4a77e14e01e0ccdd0a068cb15aa42
parent14e9fea30b68fc75b2b3d97396a7e6adb544bd2a
selftests: mptcp: add test for extra_subflows underflow on userspace PM

Add a test to verify that when userspace PM fails to create a subflow
(e.g. using an unreachable address), the extra_subflows counter is not
decremented below zero.

Fixes: 77e4b94a3de6 ("mptcp: update userspace pm infos")
Cc: stable@vger.kernel.org
Signed-off-by: Tao Cui <cuitao@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260602-net-mptcp-misc-fixes-7-1-rc7-v2-6-856831229976@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/mptcp_join.sh