From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 726FA4B4023 for ; Wed, 16 Sep 2026 16:34:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789576477; cv=none; b=pLENahQ3dl8d/D2/UF7uPRBtE2d622v6XpUdngDJEDQhyNO0GsK+Oou1plddumORJaRSgSixom91iJOwo6G/ZBYibWgwgTZRgiv8Gc78HyEUGWPz7eUFDllwefKlRVGqSxsDYYZGqrvTWjIBx8C9g7KILOc82iNMekC9myibJbc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789576477; c=relaxed/simple; bh=FMokrtZT29aBHWTBQZn7Ldks/M3xe40e1R+dQFoK0V8=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=ZvfNl5YCA7VeApubRREXAEN871QG/Tgny0tuBg/oWChPFlovuM+JT7ol9Epai0HkW4HtBYkuPIRmDbqvcBu7sC3uq4nKVZlg4ppQf0+xx/XbLwdoRbj4ztGmY2uMT9wa4dbwxOoZ4+7bASEr0ZxyRh/1B/8/yvSzgdcs+h84CfA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0XNxvHUM; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0XNxvHUM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5368F1F00893; Wed, 16 Sep 2026 16:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789576474; bh=h8Ne4xB9ZKKk7Z4oUtYhAmH7V3FEVizYVR64ZVV3cy0=; h=Subject:To:Cc:From:Date; b=0XNxvHUMOzfJZCOt2c6WWZUMQixuzYhJOL9uA39135SH5nuvVcddRawmhz+XkEBaH CRK3O4zgxN0O1Xx9adZ4+CZgtcXzyj+fNP2IgfbMcsZlgF/6jnbgUrwJRKVlKG+qiS k8qURkaF22aQGeVWte6UehbNdZX1n+x//esU7E10= Subject: FAILED: patch "[PATCH] mptcp: pm: reset retrans_time when ADD_ADDR entry is reused" failed to apply to 6.6-stable tree To: matttbe@kernel.org,kuba@kernel.org,martineau@kernel.org Cc: From: Date: Wed, 16 Sep 2026 17:31:14 +0100 Message-ID: <2026091614-legroom-celibacy-38bd@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 f968190c0b42ea2004dc1426359a53ec365a7a37 # git commit -s git send-email --to '' --in-reply-to '2026091614-legroom-celibacy-38bd@gregkh' --subject-prefix 'PATCH 6.6.y' 'HEAD^..' Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ >From f968190c0b42ea2004dc1426359a53ec365a7a37 Mon Sep 17 00:00:00 2001 From: "Matthieu Baerts (NGI0)" Date: Tue, 8 Sep 2026 16:07:14 +0200 Subject: [PATCH] mptcp: pm: reset retrans_time when ADD_ADDR entry is reused When an ADD_ADDR entry is reused, the timer is re-armed, because the goal is to re-announce an ADD_ADDR, and eventually retransmit it if needed. In this case, the retransmission counter should be reset as well, so the re-announced address gets its retransmissions back instead of relying on what was left before, and possibly not being able to retransmit it. Fixes: 304ab97f4c7c ("mptcp: allow ADD_ADDR reissuance by userspace PMs") Cc: stable@vger.kernel.org Link: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260803-net-mptcp-misc-fixes-7-2-rc6-v2-0-b8f496d71664%40kernel.org?part=4 Reviewed-by: Mat Martineau Signed-off-by: Matthieu Baerts (NGI0) Link: https://patch.msgid.link/20260908-net-mptcp-misc-fixes-7-3-rc1-v2-9-df1de70348b6@kernel.org Signed-off-by: Jakub Kicinski diff --git a/net/mptcp/pm.c b/net/mptcp/pm.c index 8b68868255c5..b0b71adefb8f 100644 --- a/net/mptcp/pm.c +++ b/net/mptcp/pm.c @@ -462,10 +462,10 @@ bool mptcp_pm_announced_alloc(struct mptcp_sock *msk, add_entry->addr = *addr; add_entry->sock = msk; - add_entry->retrans_times = 0; timer_setup(&add_entry->timer, mptcp_pm_add_addr_timer, 0); reset_timer: + add_entry->retrans_times = 0; add_entry->timer_done = false; timeout = mptcp_adjust_add_addr_timeout(msk); if (timeout)