[Devel] [PATCH hci-8.1 1/4] ms/mptcp: reset rcv wnd on disconnect

Konstantin Khorenko khorenko at virtuozzo.com
Tue Nov 17 14:29:43 MSK 2026


I won't apply this version, please send v2 with the changes below.

On Mon, 16 Nov 2026 20:03:01 +0200, Eva Kurchatova wrote:
> Rebase note: this tree lacks commits 2834f8edd74d ("mptcp: cleanup
> fallback dummy mapping generation") and d2000361e4dd ("mptcp: better
> mptcp-level RTT estimator"), which add the lines around the mainline
> hunk, so the reset goes after the other counters.

Item 1 of the cover letter reply: apply this on top of the stability
series and drop the note.

Why: 2834f8edd74d5 is more than context. It resets msk->ack_seq in
mptcp_disconnect(), and this patch resets rcv_wnd_sent to match it;
mptcp_set_rwin() works on the pair. With only this patch, a reused
socket that falls back to TCP before the MP handshake keeps the old
ack_seq against rcv_wnd_sent = 0, and for an ack_seq in the upper half
of the u64 range mptcp_set_rwin() takes the raise_win path and sets
tp->rcv_wnd to U32_MAX. Before the patch both values were stale but
consistent. d2000361e4dd does not touch the hunk context at all.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list