From: Matthieu Baerts <matttbe@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: Gang Yan <yangang@kylinos.cn>, Paolo Abeni <pabeni@redhat.com>,
stable@vger.kernel.org
Subject: Re: [PATCH 7.0.y] mptcp: update window_clamp on subflows when SO_RCVBUF is set
Date: Mon, 1 Jun 2026 10:50:33 +1000 [thread overview]
Message-ID: <bd2ea2a2-5ec9-49f2-90e1-5551c4f5c3e2@kernel.org> (raw)
In-Reply-To: <20260601003905.84041-1-sashal@kernel.org>
Hi Sasha,
On 01/06/2026 10:39, Sasha Levin wrote:
> From: Gang Yan <yangang@kylinos.cn>
>
> [ Upstream commit 3a543ae0e2092d5c2085d5f21f7a7dbafdffea3c ]
>
> Add __mptcp_subflow_set_rcvbuf() helper to write the subflow sk_rcvbuf,
> but also to call the recently added tcp_set_rcvbuf() helper to update
> window_clamp. This is needed because the window clap is updated when
> scaling_ratio changes, in tcp_measure_rcv_mss(). Until scaling_ratio
> changes, the subflow is stuck with the old window clamp which may be
> based on a small initial buffer.
>
> Use this new helper in both mptcp_sol_socket_sync_intval() (setsockopt
> path) and sync_socket_options() (new subflow creation path).
>
> Note that this patch depends on commit b025461303d8 ("tcp: update
> window_clamp when SO_RCVBUF is set"): it fixes the issue on TCP side,
> but the same fix is needed on MPTCP side as well.
Thank you for the backport. I guess there is a conflict, because commit
b025461303d8 ("tcp: update window_clamp when SO_RCVBUF is set") has not
been backported to 7.0 (nor 6.18, 6.12 and 6.6). See the note above for
more details.
In other words, MPTCP is imitating TCP's behaviour. So no need to
backport this patch if the fix on TCP side is not backported either.
I think it would be better to take both the TCP fix (b025461303d8), and
this one (3a543ae0e209). But maybe the TCP fix has not been backported
on purpose?
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2026-06-01 0:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-28 11:21 FAILED: patch "[PATCH] mptcp: update window_clamp on subflows when SO_RCVBUF is set" failed to apply to 7.0-stable tree gregkh
2026-06-01 0:39 ` [PATCH 7.0.y] mptcp: update window_clamp on subflows when SO_RCVBUF is set Sasha Levin
2026-06-01 0:50 ` Matthieu Baerts [this message]
2026-06-07 7:19 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bd2ea2a2-5ec9-49f2-90e1-5551c4f5c3e2@kernel.org \
--to=matttbe@kernel.org \
--cc=pabeni@redhat.com \
--cc=sashal@kernel.org \
--cc=stable@vger.kernel.org \
--cc=yangang@kylinos.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox