Article View: linux.kernel.netdev
Article #26288Re: [PATCH net] tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 11:10
Date: Thu, 03 Dec 2026 11:10
26 lines
8884 bytes
8884 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:
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
Technical Details
Message-ID:
<179629620500.2537164.5346016893983903992.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376503-linux-kernel-netdev=dewy.ruReferences:
<20261127045059.142247-1-jiayuan.chen@linux.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376503-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] tcp_metrics: fix zero snd_cwnd_clamp from a half updated entry Date: Thu, 03 Dec 2026 11:10:05 +0000 Organization: Usenet Network Message-ID: <179629620500.2537164.5346016893983903992.git-patchwork-notify@kernel.org> References: <20261127045059.142247-1-jiayuan.chen@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2468529"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:54+q94C88FzXvVIO4Kkrwd36KSg= sha256:0AE6TOUx4ET7WzsVzPdKV76cFxPdrBzp1cojyfHKV7M= sha1:kWSJ205EL4vGhVKo+BcKuVS7/E0= sha256:yx9dOVSXjhgN6Se8D/gPMr45tdmuQlF4A90ATzmGPcc= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 926C51178E3; Thu, 3 Dec 2026 14:10:28 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.64 X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nYDLAs8_pZRQ; Thu, 3 Dec 2026 14:10:25 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-376503-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id B36421178C0; Thu, 3 Dec 2026 14:10:15 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id BCC912319C; Thu, 3 Dec 2026 11:10:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796296212; b=ZXAo9t2BOliER3Z4rtoD9BeqqvZQCd1hfQKZqvX/s0G2baib2mMrF73Btkbo2S5n/oCU AvcvgHdaZuIe3uSgytxTmoYsv+ZD/eitlj96wOwQCYPFttEItwdtTVKUpnPkd0+hNsmgA VcCCYUSTCZ3LniD2Kwm/G/BvMHvzrpL2dZVo7n//GQ+ooMcsNJk+v/Qh17R6VOUFrYJNW ELrQ8KGcGk27CS3p6GftajLHMBU3noLTWCiRGfdRw+E0xD/23HruwevSnILvKzY3cJDBC X/8w70VkJ3qVZqbpIYkSCgEXanK4x3bOi36t018nJKd3+2Yh3sNYmSz080f84ly7y/A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796296212; h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=/DiIBnMkEV/JmgzZSn/lFKq1DFjHSqfBHqgaJGpylcY=; b=RsSKWxTKaFqtfMbzlHTBWeTo9soGzLijvFElps44PcVlSCEBxuHcaVl3NlhKcCl2IXI6 LMj0XL5BmII5UPqPUNMkTvaGnYe6bX6nJ4eHJlCFD1nQ/uTC09UaPPzWZ7vMHKLYXhOv7 hlSSk9PuDz49VUA06waGxpbPZv0j4X+T3cqM93Hsk5YDGskF32Xn25xZtMc5hZMfMxAx6 pOEwK2bEJUceDoTbtR7Mlo/4njUbJNf/LxARQdqMfZ3QU0ZrbiuUGJ08IwYufzLRUVJRe m9jtH06H17X4fKqvJbI8Ivc4gJ7l3wCbSAwKJ417DeOLv1meCBMf3kbUr/eRz9essCQ== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aVqj7BkV; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 888C4606A322; Thu, 3 Dec 2026 11:10:12 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aVqj7BkV X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796296206; b=t0o1ocAH+VU+gxRp0DyydwsPGwvht9jncDQBBTB4vPDlJjtLplDCS9XZ1nSXUAt84RhX +YXvX7k4suG/L/5d7dA6omLw2PNcmk9spwEIPEF9B3PaEssW83+VJ8WmRqMrapkLTpuBN GDR0PNiRBDV41UdR09BsaVVtQObsZc90yie5NvVLoRlUYnZR6TvKTiqwinRQG6CnH/wq5 sfahvfYy46ri7pU8y2YGywbS7aQFzsUglopN0r29l37fxPALuKGO0NFjiXKAD+KC7d+Kj gHnqFpyF5FlTV/Sx/GKEZG3fGYyb/3BilSXPHWS0Ot6+SJ1/y2puFt1jMzVXeqxLpag== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796296206; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=/DiIBnMkEV/JmgzZSn/lFKq1DFjHSqfBHqgaJGpylcY=; b=vOvUGezJL1v9mi4UPDmzMxxxJjUDkJPTKjMMlxx4/mTt5lLWy/n4vSj4uib81kLSqnZ9 DA49UpZmQ1bq6jHSCjsap4/O4WafuUtIdNvfr0/NN3WfeNDi+dylBDxa7L3h9Orik1fpU waIMBo2hhWOqIQ1S9CGWnn0tph6INP1wzviVfzKqWI5fqSqviCZUQpsqzYtC0oSqA87aL O2xw0DK8IbdyE0Zq3mlm3W3W9tMdpVtT0wUMW23JHSdDD9yHIWL7uhAUV1ipTqh1zrOxR pkHMU83iSMnMPGhAElsijxRLe9hFDUHsayCTeo22Jr78Ae5pDIDEhpunaO8XxcdDV4Q== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=aVqj7BkV; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A69A4606A32C; Thu, 3 Dec 2026 11:10:06 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E2B31F00893; Thu, 3 Dec 2026 11:10:06 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796296206; bh=/DiIBnMkEV/JmgzZSn/lFKq1DFjHSqfBHqgaJGpylcY=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=aVqj7BkVqIhE9tcQri4Lc26QosUibZOV6MT7ZaypEN1YgZAc9seisSVviPW5y7AGm 9pW5HI0FSJBIYs3aeqxj6YN2rbtPETTqp0ILiObRh8afmwQZW4hxnRE2G92ACB4Rtb 0uqrsbYN739WWR9AXYfhEL8vXiqXHquIP3lLnFwmo1bmUdlVCwFxPCMCf4oqdTDXt5 ggbyZ2IQ4OYiv/M7XE3Yuy/To7iwgEb30rg+eIAqcj040jpJxzf8GbN9XSLW8hVGXY 4FDof7VMvjWvf8Ba40kQpcMc4aF8Gm4xGOLm4WLjURvUaSRo/5FHf8biS+pxAHzQQr SoqhLiMTDgo/w== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 347A93806925; Thu, 3 Dec 2026 11:10:06 +0000 (UTC) X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-In-Reply-To: <20261127045059.142247-1-jiayuan.chen@linux.dev> X-Cc: netdev@vger.kernel.org, edumazet@kernel.org, ncardwell@google.com, kuniyu@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, linux-kernel@vger.kernel.org