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 92C5C3905F0 for ; Tue, 12 May 2026 14:20:37 +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=1778595637; cv=none; b=hiaZQAYlk3weJGxw8SquuyRLHbW9U8nl3sT9AkZ9+BFxSnSaJt63pkrFGZSC/t9yonCzOmXGypnMf23EQnPbp8T83nRuMuXszORb2cuHWNo7qkIln4xs6HqkSbDiEzoh8WFEPy1BygdJp/ptB5zHsuQFmQLoKfRIQH7uxHDXsug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778595637; c=relaxed/simple; bh=8bXD8CG12Po+e1rO9EDtxbgRf2CQ2iUYJc5oGpkOsj0=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=Jxqe17g2GO62vKfaaxNuFTlsVGf2SlUG8XBmQx4kSuPPiuPEx8HV8nEZg9cP8TtolsFQicvRTOBpoHICSX12gYF3JAkQFBe9We1QJQ9gtl0ha4IrxJFoqQr7dPqjuNJ817oMuFUV9cgnZ8SzbWjD0+Ey7xGSL0n7UL5CqOWy6AY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2DpjXjRO; 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="2DpjXjRO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28BFFC2BCB0; Tue, 12 May 2026 14:20:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778595637; bh=8bXD8CG12Po+e1rO9EDtxbgRf2CQ2iUYJc5oGpkOsj0=; h=Subject:To:Cc:From:Date:From; b=2DpjXjROt7/cIC9GqaK1O4y7ECLw0Y7Bg4TeyoKyXJGZstEkrgfJKAAUDt4nlAC65 QtFr4iDsX/wI73CA+6dZ6ukcT1oVM3qqX7942In3iJNt6wPHqR6bUi2kICmXJd6flz /LXsI8DCygngfANWQgcKuSAPccmBm9CXfS0blNPA= Subject: FAILED: patch "[PATCH] mptcp: pm: prio: skip closed subflows" failed to apply to 6.6-stable tree To: matttbe@kernel.org,kuba@kernel.org,martineau@kernel.org Cc: From: Date: Tue, 12 May 2026 16:20:29 +0200 Message-ID: <2026051229-encounter-relish-ce49@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x 166b78344031bf7ac9f55cb5282776cfd85f220e # git commit -s git send-email --to '' --in-reply-to '2026051229-encounter-relish-ce49@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 166b78344031bf7ac9f55cb5282776cfd85f220e Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Tue, 5 May 2026 17:00:57 +0200 Subject: [PATCH] mptcp: pm: prio: skip closed subflows When sending an MP_PRIO, closed subflows need to be skipped. This fixes the case where the initial subflow got closed, re-opened later, then an MP_PRIO is needed for the same local address. Note that explicit MP_PRIO cannot be sent during the 3WHS, so it is fine to use __mptcp_subflow_active(). Fixes: 067065422fcd ("mptcp: add the outgoing MP_PRIO support") Cc: stable@vger.kernel.org Fixes: b29fcfb54cd7 ("mptcp: full disconnect implementation") Reviewed-by: Mat Martineau Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20260505-net-mptcp-pm-fixes-7-1-rc3-v1-9-fca8091060a4@kernel.org Signed-off-by: Jakub Kicinski diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index 4a6e5ab30d80..3c152bf66cd5 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -284,6 +284,9 @@ int mptcp_pm_mp_prio_send_ack(struct mptcp_sock *msk, struct sock *ssk = mptcp_subflow_tcp_sock(subflow); struct mptcp_addr_info local, remote; + if (!__mptcp_subflow_active(subflow)) + continue; + mptcp_local_address((struct sock_common *)ssk, &local); if (!mptcp_addresses_equal(&local, addr, addr->port)) continue;