From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796221177; b=cf6v+8ngODeb7am7gpqycRS8nH7+tYWqvMssJn5MgZcIzI1/zZU41/cLYQbwo45QDlpx JFVkCCJFZbUpjSlKor8IVSvyRtsmh3mlbC5wQxsSH/RhtoJX2T2m6TQ2HPL3bDxd/YRpk YtXJ7KFfEnQlgDtNXFn06euLLWU8brP7ygGDX1iRPqy/GPJ9dlIat+XUfBm5HL5koJydm 5XWaqh2eD3IH4sF0+Epcc6EP+YkLUs4YprvTBzocw9iaoCLS97kNIcLROETtJ/o//1UkW /3zBLrsgEw5+Q+0+88dXh1zbtIqRAumzEjvgMQVDamKjOaSTM17WDJH856W8h8XuoQw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796221177; h=Received:DKIM-Signature:Subject:To:Cc:From:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; bh=jaDVQAtUEeGlNZP4BRj2OWL8sd0Bjp2wnJUvo5DgYZY=; b=MtVhauaiM0oGfPIh5aJTI1GbXyO72yZ6MrxnRfsIWIg9/gJtIJ+ImcZRMKJHWczYZ7Nr tfDIuVhBtpm+PWIogo4wjRh8AuR7SEp7+h21V7S8W44FGpOIQ1IxyIqm7fQcIt7xq3J7C bPUnO+iW4YtsA3bWrKji+vSAvtITHai698Fz8PQua0OOYzR8xdowAcSolUXhYdrSsWrfX xz/p1nNJ7u2Nj8u6Eld5FyET9Ec0R1w0qfCBhz/h7DVDellw/Hg4e5ppaxsgR2Hlkfaqr XJQHwqUJp9Unr0hpWEBGT5+71+GY5bGQPr0aOZ5BjNXs0WSToJfmTW9F4j5IivWpZHA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jP+hqk6f; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3FB9606A31A for ; Wed, 2 Dec 2026 14:19:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=jP+hqk6f Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CE631F000C1; Wed, 2 Dec 2026 14:19:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796221176; bh=jaDVQAtUEeGlNZP4BRj2OWL8sd0Bjp2wnJUvo5DgYZY=; h=Subject:To:Cc:From:Date; b=jP+hqk6fuDYbu/GqaYE+icPlOs7Rf60y/i66H8AxctCF5j7FmgLBkxVaxJxjaYnGJ 1QtCI7TRXwi1JhNc4Y9N3FdZmBG/q1d0d9ymxJIhH2gZWvRlSUWi3KKhKP7vQLqFZp 9MnkXV9Pv/6+nhMbIE6JjUshredbUhpaPP+q0oH4= Subject: FAILED: patch "[PATCH] mptcp: Avoid unsequenced accesses to jiffies in" failed to apply to 6.6-stable tree To: nathan@kernel.org,kuba@kernel.org,matttbe@kernel.org Cc: From: Date: Wed, 02 Dec 2026 14:13:02 +0100 Message-ID: <2026120202-autopilot-december-2be2@gregkh> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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 728a2abd15a767f662a44030931ea7b2959b4e88 # git commit -s git send-email --to '' --in-reply-to '2026120202-autopilot-december-2be2@gregkh' --subject-prefix 'PATCH 6.6.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From 728a2abd15a767f662a44030931ea7b2959b4e88 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Sat, 14 Nov 2026 21:30:07 -0700 Subject: [PATCH] mptcp: Avoid unsequenced accesses to jiffies in mptcp_reset_tout_timer() After a recent improvement in clang to warn on unsequenced accesses to volatile variables [1], an instance appears in mptcp_reset_tout_timer(), which can break the build with CONFIG_WERROR=y / W=e: net/mptcp/protocol.c:3044:20: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced] 3044 | tcp_jiffies32 + jiffies + mptcp_close_timeout(sk); | ~~~~~~~~~~~~~ ^ Per C11 5.1.2.3.2, accessing a volatile object is a side effect. Per C11 6.5.2, unsequenced side effects on the same scalar object are undefined behavior. Per C11 6.5.3, unless otherwise specified, side effects and value computations of subexpressions are unsequenced within expressions. Add an explicit sequence point by splitting the addition expression in half, eliminating the undefined behavior and clearing up the warning. Cc: stable@vger.kernel.org Fixes: 76a13b315709 ("mptcp: invoke MP_FAIL response when needed") Closes: https://github.com/ClangBuiltLinux/linux/issues/2193 Link: https://github.com/llvm/llvm-project/commit/955715460eaf9188c241c74750637fc82dfcc423 [1] Signed-off-by: Nathan Chancellor Reviewed-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20261114-mptcp-wunsequenced-v1-1-707a73a6c172@kernel.org Signed-off-by: Jakub Kicinski diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c index 8968db58083e..8a9efebf3497 100644 --- a/net/mptcp/protocol.c +++ b/net/mptcp/protocol.c @@ -3041,7 +3041,8 @@ void mptcp_reset_tout_timer(struct mptcp_sock *msk, unsigned long fail_tout) return; close_timeout = (unsigned long)inet_csk(sk)->icsk_mtup.probe_timestamp - - tcp_jiffies32 + jiffies + mptcp_close_timeout(sk); + tcp_jiffies32; + close_timeout += jiffies + mptcp_close_timeout(sk); /* the close timeout takes precedence on the fail one, and here at least one of * them is active