Re: [PATCH net] tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry
From: patchwork-bot+netdevbpf
Date: Thu Dec 03 2026 - 06:10:13 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Fri, 27 Nov 2026 12:50:58 +0800 you wrote:
> tcp_init_metrics() takes snd_cwnd_clamp from the cached TCP_METRIC_CWND
> when that metric is locked, i.e. the route has "cwnd lock N".
>
> tcpm_suck_dst() refreshes a cached entry in place. It writes tcpm_lock
> first and only then updates TCP_METRIC_CWND from
> dst_metric_raw(dst, RTAX_CWND). Readers only hold rcu_read_lock(), so
> when an entry that had no cwnd metric (value 0) is refreshed from a
> route with a locked cwnd we can have:
>
> [...]
Here is the summary with links:
- [net] tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry
https://git.kernel.org/netdev/net/c/fe72539089a5
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html