[Devel] [PATCH hci-8.1 2/4] ms/mptcp: prevent race between disconnect() and rtx
no-reply at sashiko.virtuozzo.com
no-reply at sashiko.virtuozzo.com
Mon Nov 16 21:08:37 MSK 2026
> From: Paolo Abeni <pabeni at redhat.com>
>
> Sashiko noted that the two event can race, leading to inconsistent
> status. Prevent the race using the synchronous timer stop operation.
>
> Cc: stable at vger.kernel.org
> Fixes: b29fcfb54cd7 ("mptcp: full disconnect implementation")
> Signed-off-by: Paolo Abeni <pabeni at redhat.com>
> Reviewed-by: Matthieu Baerts (NGI0) <matttbe at kernel.org>
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe at kernel.org>
> Link: https://patch.msgid.link/20260908-net-mptcp-misc-fixes-7-3-rc1-v2-6-df1de70348b6@kernel.org
> Signed-off-by: Jakub Kicinski <kuba at kernel.org>
> (cherry picked from commit 85c580b0d8590520ae00a15c29e9fb9c99427a3e)
>
> Rebase note: this tree lacks commits 9a5e5334adc0 ("tcp: remove
> icsk->icsk_retransmit_timer") and e4141ea18a73 ("tcp: introduce
> icsk->icsk_keepalive_timer"), so the timers stopped are still
> icsk_retransmit_timer and sk_timer. It also lacks commit ea4eb2adb0d3
> ("mptcp: honour configured min/max RTO in retransmit paths"), which
> initialises icsk_rto_min, so timer_ival is reset to TCP_RTO_MIN, as in
> __mptcp_init_sock() here and in the 6.12.y backport.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-155322
> Feature: fix ms/net
>
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261116180419.685520-3-eva.kurchatova@virtuozzo.com?part=2
More information about the Devel
mailing list