From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FEDA2745E; Fri, 21 Nov 2025 13:33:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763731999; cv=none; b=nsGbRqja7wonhPEdnrDYhHFazmpERG52kQpkXYOBeYCznp6e1d9fk0wPazO/eyU3GFQDZS+Ps525FgPhfCcXptLzuk5h0qN3UFXfPs8gSyuaqcs1c0d+tcEQRedoIhFIb11ZZn76HJqZCDg/cvZMQcE/n/8igNRcQDZWihjMWKE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763731999; c=relaxed/simple; bh=aeLmSnzfxa5INsULYdZMrIx3zfEPfASvcL/NNoPw7yU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Sl9GZLiyfVptsJ9cdurA5xnAC+bM9uShVy8RrLsxP81cwXAX3B48l4wmYlNCC+Zb8gWyRoHTVuOQebHkpCU2OCYu3HZTp1NXi1SOeQ4uBuBLOPNYCm47LAK8Ag/FTA2ARGuFDoG1oBIVeB4noGuQ5rEfJxPfW15t7ytB5ynyoD4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hs4nExbq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="hs4nExbq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C9ED2C4CEF1; Fri, 21 Nov 2025 13:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1763731999; bh=aeLmSnzfxa5INsULYdZMrIx3zfEPfASvcL/NNoPw7yU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hs4nExbqnHXbKGpPzLZcPX0eSlx/erGW5823Qew1cr0D4VO5PgQDZNU++TUgYhaOu Aaeg+vFEejxMj3IMHzb82rWTqIg84uL7ptZjudQSHrW430G8iQkSlH6JJfm/OuWh7a HM/EZwKeEJdCzrFVE3fw9bFQWQG0g/F0HxESLCQ4= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Geliang Tang , "Matthieu Baerts (NGI0)" , Jakub Kicinski Subject: [PATCH 6.12 153/185] selftests: mptcp: connect: fix fallback note due to OoO Date: Fri, 21 Nov 2025 14:13:00 +0100 Message-ID: <20251121130149.398574195@linuxfoundation.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251121130143.857798067@linuxfoundation.org> References: <20251121130143.857798067@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Matthieu Baerts (NGI0) commit 63c643aa7b7287fdbb0167063785f89ece3f000f upstream. The "fallback due to TCP OoO" was never printed because the stat_ooo_now variable was checked twice: once in the parent if-statement, and one in the child one. The second condition was then always true then, and the 'else' branch was never taken. The idea is that when there are more ACK + MP_CAPABLE than expected, the test either fails if there was no out of order packets, or a notice is printed. Fixes: 69ca3d29a755 ("mptcp: update selftest for fallback due to OoO") Cc: stable@vger.kernel.org Reviewed-by: Geliang Tang Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20251110-net-mptcp-sft-join-unstable-v1-1-a4332c714e10@kernel.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/net/mptcp/mptcp_connect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/net/mptcp/mptcp_connect.sh +++ b/tools/testing/selftests/net/mptcp/mptcp_connect.sh @@ -493,7 +493,7 @@ do_transfer() "than expected (${expect_synrx})" retc=1 fi - if [ ${stat_ackrx_now_l} -lt ${expect_ackrx} ] && [ ${stat_ooo_now} -eq 0 ]; then + if [ ${stat_ackrx_now_l} -lt ${expect_ackrx} ]; then if [ ${stat_ooo_now} -eq 0 ]; then mptcp_lib_pr_fail "lower MPC ACK rx (${stat_ackrx_now_l})" \ "than expected (${expect_ackrx})"