All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7.2.y] mptcp: fix msk->timer_ival reset
@ 2026-10-05 17:42 Matthieu Baerts (NGI0)
  2026-10-05 18:50 ` MPTCP CI
  2026-10-06 21:35 ` Sasha Levin
  0 siblings, 2 replies; 3+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-10-05 17:42 UTC (permalink / raw)
  To: stable, gregkh, sashal; +Cc: MPTCP Upstream, Matthieu Baerts (NGI0)

In this kernel version, icsk->icsk_rto_min is not initialised, because
this version doesn't contain commit ea4eb2adb0d3 ("mptcp: honour
configured min/max RTO in retransmit paths").

Reset it to TCP_RTO_MIN, which is how msk->timer_ival is also reset in
__mptcp_init_sock() in this version.

Fixes: 69a7b2a91267 ("mptcp: prevent race between disconnect() and rtx")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
 net/mptcp/protocol.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/mptcp/protocol.c b/net/mptcp/protocol.c
index 49c46498af96..5a97ed9487b8 100644
--- a/net/mptcp/protocol.c
+++ b/net/mptcp/protocol.c
@@ -3475,7 +3475,7 @@ static int mptcp_disconnect(struct sock *sk, int flags)
 	/* The later subflow close can not kick again the tout timer,
 	 * as the msk is already in closed status.
 	 */
-	msk->timer_ival = icsk->icsk_rto_min;
+	msk->timer_ival = TCP_RTO_MIN;
 	sk_stop_timer_sync(sk, &sk->mptcp_retransmit_timer);
 	icsk->icsk_mtup.probe_timestamp = 0;
 	sk_stop_timer_sync(sk, &icsk->mptcp_tout_timer);
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 7.2.y] mptcp: fix msk->timer_ival reset
  2026-10-05 17:42 [PATCH 7.2.y] mptcp: fix msk->timer_ival reset Matthieu Baerts (NGI0)
@ 2026-10-05 18:50 ` MPTCP CI
  2026-10-06 21:35 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: MPTCP CI @ 2026-10-05 18:50 UTC (permalink / raw)
  To: Matthieu Baerts; +Cc: mptcp

Hi Matthieu,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal (except selftest_mptcp_join): Unstable: 1 failed test(s): selftest_simult_flows ⚠️ 
- KVM Validation: normal (only selftest_mptcp_join): Success! ✅
- KVM Validation: debug (except selftest_mptcp_join): Success! ✅
- KVM Validation: debug (only selftest_mptcp_join): Success! ✅
- KVM Validation: btf-normal (only bpftest_all): Success! ✅
- KVM Validation: btf-debug (only bpftest_all): Success! ✅
- Perf: Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/37352828680

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/b343b8477ff5
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=1179809


If there are some issues, you can reproduce them using the same environment as
the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-normal

For more details:

    https://github.com/multipath-tcp/mptcp-upstream-virtme-docker


Please note that despite all the efforts that have been already done to have a
stable tests suite when executed on a public CI like here, it is possible some
reported issues are not due to your modifications. Still, do not hesitate to
help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 7.2.y] mptcp: fix msk->timer_ival reset
  2026-10-05 17:42 [PATCH 7.2.y] mptcp: fix msk->timer_ival reset Matthieu Baerts (NGI0)
  2026-10-05 18:50 ` MPTCP CI
@ 2026-10-06 21:35 ` Sasha Levin
  1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2026-10-06 21:35 UTC (permalink / raw)
  To: stable, gregkh; +Cc: Sasha Levin, MPTCP Upstream, Matthieu Baerts (NGI0)

> Reset it to TCP_RTO_MIN, which is how msk->timer_ival is also reset in
> __mptcp_init_sock() in this version.

Queued for 7.2, thanks.

-- 
Thanks,
Sasha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-06 21:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05 17:42 [PATCH 7.2.y] mptcp: fix msk->timer_ival reset Matthieu Baerts (NGI0)
2026-10-05 18:50 ` MPTCP CI
2026-10-06 21:35 ` Sasha Levin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.