[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54d712a2-31a7-4801-aa65-53746edda117@redhat.com>
Date: Tue, 17 Jun 2025 12:48:30 +0200
From: Paolo Abeni <pabeni@...hat.com>
To: Petr Tesarik <ptesarik@...e.com>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Neal Cardwell <ncardwell@...gle.com>, Kuniyuki Iwashima <kuniyu@...gle.com>,
"open list:NETWORKING [TCP]" <netdev@...r.kernel.org>
Cc: David Ahern <dsahern@...nel.org>, Jakub Kicinski <kuba@...nel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net 2/2] tcp_metrics: use ssthresh value from dst if there
is no metrics
On 6/13/25 12:20 PM, Petr Tesarik wrote:
> @@ -537,6 +537,9 @@ void tcp_init_metrics(struct sock *sk)
>
> inet_csk(sk)->icsk_rto = TCP_TIMEOUT_FALLBACK;
> }
> +
> + if (tp->snd_ssthresh > tp->snd_cwnd_clamp)
> + tp->snd_ssthresh = tp->snd_cwnd_clamp;
I don't think we can do this unconditionally, as other parts of the TCP
stack check explicitly for TCP_INFINITE_SSTHRESH.
/P
Powered by blists - more mailing lists