From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796462273; b=paQVPztEGFrBbQByAYlM7h4H1DPdHu+VWoMZJmaAEBE79t1KEqn6h8lZWaVPfocBMxgb t8aURXh0mnBrJ7hZm7uKUMDhQklrqYmsDvfzcSUe+EqetTlMTOawIYOJRrM1uGjaj4rxM TAANdW9LVj7VLQOse8t1/qYDvhf4h5r4kY3o82Y3r4Uz+8AviYpJ2X+gpKSoqq2AHgIRm 6fFLt73HWUrWV96PE4/vXPKwjnXSy7H7eskJE2TYX9OYgA02bxvMGWpYpOR145Ev6hPC9 6tVjt5G2PyILKzG0dOrk6WkqTT275sjifCIAQwjob//BrqLG/I6XwQoCuD1IB6ik9tg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796462273; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=KYs5q78gxyiMidQhqupdjVJDxXUnUMFPdbwuHHlI0lg=; b=zUwvWb/ZWkXX7ZmNoW4aVWtYUNaV4imJst911naT725RtryiNMcfjIDzoXfM0mo5ItNM GGORpS6qaw5IDrYqfnPBi3MziuDuerG0jS8hna8D7cJjqV2pdhy0NoFgdo6YoeoI4w1Tf mZOq4IqDmHn7xgVfXUPO+rpsZoexNx8HyQsrgNWJiovW9iLb3TaU8O9l9LAEPFllR156p kqv/sKixn8IiV+1eVk8o5d56pdZqPZOEqgd3RCiIz/teoRW9piBHLRTFcfj5hz3vXPMDr Nyr6pMPelKjy47RD/9Eb+5BHabfe1BHke6a8boj0PuadUR5TqkEDsnH+1ndB1G42bVQ== 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="cqjjpFT/"; arc=none smtp.remote-ip=100.103.45.18 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 D7876606A322 for ; Sat, 5 Dec 2026 09:17:53 +0000 (UTC) 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=cqjjpFT/ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 199E61F00936; Sat, 5 Dec 2026 09:17:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796462273; bh=KYs5q78gxyiMidQhqupdjVJDxXUnUMFPdbwuHHlI0lg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=cqjjpFT/JkTIB+lS7qCVBltlndcCDIV0CW2FbTvHSdzAsPXd1NsYJOQA8imvg+mxI QOUNiR/lwO5yTuFugIfXxKLCKcAAqfSb0Dz07XQXg4zBSWPWvXrz/snt6eByBK6wFM c7wjvjmswN3mlUmK5Sq6EkOkhOxbA1zo0v9XKl/qBnlH3LminGRLR/Yuj7KcF3Ga5H 1IovcXusswkY/bb1+39D0JOH88smHy9nFbigPeFPIw2y+L2fBe4BwYI0blJy7rGILE 9AxSWM/E2S1tuwNQ4sekpUr/jgnbLics9OOiFFfnNl2FJ97Sgtzm5JOMzFAQl8o/mO xyKhsO+SWKU3g== Subject: Re: [PATCH v1 net-next 03/10] tcp: Move struct tcp_plb_state to struct tcp_sock. From: netdev-bot+sashiko@kernel.org To: kuniyu@google.com Cc: edumazet@kernel.org, ncardwell@google.com, davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, horms@kernel.org, ycheng@google.com, kuni1840@gmail.com, netdev@vger.kernel.org Date: Sat, 05 Dec 2026 09:17:52 +0000 Message-ID: <179646227262.3146.6670251095425706683@kernel.org> In-Reply-To: <20261204085551.1518105-4-kuniyu@google.com> References: <20261204085551.1518105-4-kuniyu@google.com> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] Stale comment after the field rename. -- tcp: Move struct tcp_plb_state to struct tcp_sock. This commit removes struct tcp_plb_state from struct dctcp. Its two fields now live directly in struct tcp_sock as plb_consec_cong_rounds and plb_pause_until, so other congestion control modules can use PLB later. The tcp_plb_*() helpers now take only the socket. dctcp_init() no longer clears plb_pause_until, and tcp_disconnect() resets both fields. > diff --git a/net/ipv4/tcp_plb.c b/net/ipv4/tcp_plb.c > index d101a424c444c..26ca53d6fb9d8 100644 > --- a/net/ipv4/tcp_plb.c > +++ b/net/ipv4/tcp_plb.c [ ... ] > @@ -70,19 +71,19 @@ void tcp_plb_check_rehash(struct sock *sk, struct tcp_plb_state *plb) > * RTO event that constrains PLB rehashing. > */ > max_suspend = 2 * READ_ONCE(net->ipv4.sysctl_tcp_plb_suspend_rto_sec) * HZ; > - if (plb->pause_until && > - (!before(tcp_jiffies32, plb->pause_until) || > - before(tcp_jiffies32 + max_suspend, plb->pause_until))) > - plb->pause_until = 0; > + if (tp->plb_pause_until && > + (!before(tcp_jiffies32, tp->plb_pause_until) || > + before(tcp_jiffies32 + max_suspend, tp->plb_pause_until))) > + tp->plb_pause_until = 0; [Severity: Low] This isn't a bug, but the comment above this block in tcp_plb_check_rehash() still uses the old field name: * end. We clear pause_until to 0 to indicate there is no recent * RTO event that constrains PLB rehashing. This patch removes pause_until, and the code below the comment now uses tp->plb_pause_until. Should the comment say plb_pause_until? The later patch "tcp: Factorise tcp_plb_rehash()" moves this comment into tcp_plb_rehash() without changing it, so the old name is still there at the end of the series. [ ... ] -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261204085551.1518105-1-kuniyu%40google.com