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

no-reply at sashiko.virtuozzo.com no-reply at sashiko.virtuozzo.com
Mon Nov 16 21:09:53 MSK 2026


> From: Paolo Abeni <pabeni at redhat.com>
> 
> If the MPTCP socket fallback to TCP before the MP handshake completion,
> the IASN remain 0, and the rcv_wnd_sent field is not explicitly
> initialized, just incremented over time with the data transfer.
> 
> At disconnect time such value is not cleared. If the next connection falls
> back to TCP before the MP handshake completion, the data transfer will
> keep incrementing the receive window end sequence starting from the last
> value used in the previous connection: the announced window will be
> unrelated from the actual receiver buffer size and likely too big.
> 
> Address the issue zeroing the field at disconnect time.
> 
> Fixes: b29fcfb54cd7 ("mptcp: full disconnect implementation")
> [ ... ]
> 
> 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=1




More information about the Devel mailing list