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=1796104015; b=APQdul22IXvabg8iYSTryA6TFXNCKWhSZFfoTJy7m8sYwIO7oaaOg/mGpDmvPYdY6KFn 7aZTw1ER5pn3wuTqQZYywVUrx7aO3DJpzM2r0kYd8XFvI/qg8ZUxy8ICAWC4ZZDjuiSfN 5pH7r1nkJ6IpUAU0zk9LmJrVHW+zaJDKDCipxKc6DxlwyoA9unWk+B0dS6e1CZGC7NYSC 37LqjfRPNuIPm65Pgk+FbwuP5CLaR+wzdxHvKEim144tMaeI9pdXToersNE1mJQjuJADu JytgOgn+pDrQdx+qJKHgt8vo3AsMS/PBiwIK+C1NV/kwhq/bqET/zJLkpglg5ANl8qg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796104015; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=CXTg8iEuMbsLE5spmNrJfx62vxjJ2ufPTHejQmDGcdE=; b=mXoQuvuySIQBBq5ITpR6Z41w6ne6Spt/QEyvvoIvq9fa/GAGZnlG7LaoEoRwBV8qxAo4 xZseJTNTAhCLI04U+1i5Zs4lemwhwa5XBoiNW/8QcpBRymsAwQqJWmLBC4z6XM1W5Loiw 5BsHC8tQKx3TEu3UALpJgIfXYPN090BHTTHh2ooZMu9I35aT0hWszyV/keNivaBMC9DHk Mxs4fsBrRukCmliPjym9oGjWcgpcfOy9YQgrscRh3HQermavPPZqVAHOBax59fpIAePJn uN6bzVfiVTx8YUQ26ShLCkS1u0FCWlnQMHRPmt+q6kkHgWQ1RFT4y+1mWIBot//taow== 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=ajbA083p; 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) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 59C4A606A31A for ; Tue, 1 Dec 2026 05:46:55 +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=ajbA083p Received: by smtp.kernel.org (Postfix) with ESMTPSA id 25B8D1F000C1; Tue, 1 Dec 2026 05:46:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796104015; bh=CXTg8iEuMbsLE5spmNrJfx62vxjJ2ufPTHejQmDGcdE=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=ajbA083p4ldT9GlqjgnuMewwWGSEhMxQEcBPqNAOImJOVcoDVxd6mZAzj0LQO0gi/ A30GuDGwRIUMPA4cbBrxCp1UupNjkyUrTb5/OMATQH7lBWWpXQWVoGCtlJRkSS/gGy TtFnsQwt2abelXAPuDP4imaVJhYtRAvh8u66Wkp4ZO1KM6iFjH2CNyJQi1kcFdfgL9 dmelYexhGP7ohPTFYXUUJf+u0fitAa7Qk5WuFV0N+gWq7zngeQgFjS7pYzwRIoXc/0 CiYB/by7qiM/sfglht1isVQneaeGgSpeIctIYIBm04tNnxozfOhheCgOZCiPJxvgSg RoaDee1Rq0rvg== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH bpf-next v1 72/73] bpf: Give cancelled tcp_congestion_ops programs values that TCP can take Reply-To: sashiko-reviews@lists.linux.dev To: "Kumar Kartikeya Dwivedi" , bpf@vger.kernel.org In-Reply-To: References: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 05:46:54 +0000 X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] bpf: multi-line comment style violation above bpf_tcp_ca_cancelled_retval() -- commit d61aeecc80ea9ee35fbdcf25dbc56aaed0f107d2 Author: Kumar Kartikeya Dwivedi bpf: Give cancelled tcp_congestion_ops programs values that TCP can take This commit implements .cancelled_retval() for bpf_tcp_congestion_ops so that cancelled tcp_congestion_ops programs return safe minimum values for ssthresh, undo_cwnd, tso_segs, and sndbuf_expand instead of 0. > diff --git a/net/ipv4/bpf_tcp_ca.c b/net/ipv4/bpf_tcp_ca.c > index 2a71dc81562f4..4b9ea3058b6f6 100644 > --- a/net/ipv4/bpf_tcp_ca.c > +++ b/net/ipv4/bpf_tcp_ca.c > @@ -256,6 +256,36 @@ static int bpf_tcp_ca_validate(void *kdata) > return tcp_validate_congestion_control(kdata); > } > =20 > +/* What a program returns when the kernel cancels it, which ends the pro= gram > + * early, for example at a loop that runs out of time. The value is a co= nstant, [Severity: Low] This isn't a bug, but BPF code uses the multi-line comment style with the opening /* on its own line and the comment text starting on the following line. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/cover.1796099737.gi= t.memxor@gmail.com?part=3D72