Article View: linux.kernel.netdev
Article #13256Re: [PATCH bpf-next 4/9] bpf: Add log support for cgroup prog link_create
From: bot+bpf-ci
Date: Mon, 09 Nov 2026 14:47
Date: Mon, 09 Nov 2026 14:47
41 lines
9555 bytes
9555 bytes
--===============7308541728086898334== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > bpf: Add log support for cgroup prog link_create TL;DR: Nit only: the new <linux/bpf_verifier.h> include in bpf-cgroup.h may be unnecessary, since a forward declaration would likely suffice and avoid pulling it into tcp.h users. > diff --git a/include/linux/bpf-cgroup.h b/include/linux/bpf-cgroup.h > --- a/include/linux/bpf-cgroup.h > +++ b/include/linux/bpf-cgroup.h > @@ -4,6 +4,7 @@ > > #include <linux/bpf.h> > #include <linux/bpf-cgroup-defs.h> > +#include <linux/bpf_verifier.h> > #include <linux/errno.h> > #include <linux/jump_label.h> > #include <linux/percpu.h> this isn't a bug, but is the <linux/bpf_verifier.h> include needed here? bpf.h already forward-declares struct bpf_verifier_log, which is all the new cgroup_bpf_link_attach() prototype and its stub need, and cgroup.c already includes bpf_verifier.h for bpf_log(). Since bpf-cgroup.h is included from include/net/tcp.h, would a plain forward declaration (as done for trace_events.h earlier in this series) keep the verifier header out of those translation units? --- AI reviewed your patch. Please fix the bug or email reply why it's not a bug. See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md CI run summary: https://github.com/kernel-patches/bpf/actions/runs/42633880300 --===============7308541728086898334==--
Technical Details
Message-ID:
<8a2b570a4d824e7a7acb46464af3318cc99a87ac6b620dc5cb76d9966101fd1d@mail.kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359371-linux-kernel-netdev=dewy.ruReferences:
<20261109140816.5196-5-leon.hwang@linux.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-359371-linux-kernel-netdev=dewy.ru From: bot+bpf-ci@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH bpf-next 4/9] bpf: Add log support for cgroup prog link_create Date: Mon, 9 Nov 2026 14:47:42 +0000 (UTC) Organization: Usenet Network Message-ID: <8a2b570a4d824e7a7acb46464af3318cc99a87ac6b620dc5cb76d9966101fd1d@mail.kernel.org> References: <20261109140816.5196-5-leon.hwang@linux.dev> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7308541728086898334==" Injection-Info: usenet.network; logging-data="381382"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:xFVpB8wrblX93xjoqYgT30F0OUo= sha256:k21Vhn0/IqkUm8ucEkPpXkEjvTZd0lH0YTJcbhccvmQ= sha1:9ZdTmUALU5Cj3flwOr3MBsE77hI= sha256:1DzF9x57g8R4fyLSjTV2QiZRNc7P0RnCEC5v5a+OpFQ= 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 5213611383C; Mon, 9 Nov 2026 17:53:20 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 vMtZDeJ5xNm1; Mon, 9 Nov 2026 17:53:17 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-359371-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 9AA97113834; Mon, 9 Nov 2026 17:53:08 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 106C81018F4; Mon, 9 Nov 2026 14:48:06 +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=1794235669; b=fVHZXdRqf/L75M5s2YGo1OxSwkYoan4mzX4nhQ0oX5i8d2QPp5MYCJu19aGajGMxJm7Y RmNXdvnGyi/TjuQm2fdBUThLFxI6M5ZMplAxyzyAOQxk4vgO1za7tKt0ptKqEpcWJJ0uY B+FmhdLg46RzpLBRhiAnyLTQYbwb7DZE9bAXWB0u/c+Przepq77c8X52zV1ORm6jTiL4s LGjo3rpXKUk1FYCyXeYjL4G6VL1qnErTmrSqPpEdS9gAVB8KICwu0O03rA84+tihac9sc 5gm14JFghOFdbqTFibbRSxsp/tb7v8BV8CXsVGvYxO/0YUsvffpxfgCBIL4mBDF1k9A== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794235669; h=X-Original-To:Received:Received:DKIM-Signature:Content-Type: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Message-Id: In-Reply-To:References:Subject:From:To:Cc:Date; bh=fCejFYKhSDSc4JwMyPtKhqFWSs53cbQeZN5/DcI4hvQ=; b=JrESxx57R8wWwtjVS52tZJpWw1z8Wk9Uvm6vlabfObuD2OUQosWpq1EulEqieeoE2ZbO sYL4pZX8VCwc4Kut89f50t53o9T3drMQm4XpS+ci+pjx2zL6MV2HeHo6vK3KjU2lDCtwX KcRehcQArzul3pn5DInclhjrfOeQ+3fBv/GwDwTiYk1oxYU0wKFe/KUf3+7uI4cHlvCgc Q0rcetUT7qjkf47lHQVvRg+EuB/urGUkEH8cZHnAEieoJ7yd/363zp5CDpDzHaBJAhcad SghxzRgM7BJMfdYYhkD08beVxjXUO1wYz6GHLfCYOOBOr2yf/LnQHM1efVOADwcm2dw== 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=Ap0TkRsF; 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 A8CFD606A337; Mon, 9 Nov 2026 14:47:49 +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=Ap0TkRsF 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=1794235663; b=JJUqNtlfFQn6cLf6CXKZtaBvaJoyl/bG99NG5nKm0yu+GD66kC72l4Hi/lxLLWsc7nb3 jM8N6PYluEODP5CHrxp9zNJ3uAemk9yPRsirJXf3w21qxqO2S7zAOfH9eqKu3XYoFTl6y Vz7Padb1fIbwzJDE6CTFFsxW6oCasbMGf5X/Yskoa0ua7Q4NoMD6K3Q2tmNFyQZBpfHpU lECZI9K8NpGzIgWz0atAPa1kz3tvkMeDrSdOngPcjiskfHY/0IbZpN5I7SlLyMj6P+BfL 4yP+C14mXMkimiHuWkauh/54v71C4b6ngGRbIW3Uwe5EzZkbA60sZczgY6+c/TemzLw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794235663; h=Received:DKIM-Signature:Content-Type:MIME-Version:Message-Id: In-Reply-To:References:Subject:From:To:Cc:Date; bh=fCejFYKhSDSc4JwMyPtKhqFWSs53cbQeZN5/DcI4hvQ=; b=jTTBnaxUfuci3mHNnHv8GxmV1rcYkW43N3cPy61A5K4k1CoSGoz5mDMtDylPNpLeKIWD 0u7sNG6Rw199KajR7qIZuAfIimQhOrcHXJKahj39uu3Pf+r57AzRcHWsZoW8z+ekYkzey JEV2NaTAJEqT28UfOrnFOpZ8Z2I/WkF+xwT6IRlly93rVFrvrsbB/Lxqx0gu+ximch9Na /wFcvBLE9OmxWkW+5yB3SiJre+MWNwxt1YZPr7zqTKGeYUN7evRZACvioMnhiWtcEl979 FDGTfjWPPuVxaQ/TJryeeRvI/OJXDJjcoGxPO915f0/0u4iRHVmRuB17lmR0eao0MXA== 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=Ap0TkRsF; 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 32255606A338; Mon, 9 Nov 2026 14:47:42 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4F1BF1F008A7; Mon, 9 Nov 2026 14:47:42 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794235662; bh=fCejFYKhSDSc4JwMyPtKhqFWSs53cbQeZN5/DcI4hvQ=; h=In-Reply-To:References:Subject:From:To:Cc:Date; b=Ap0TkRsF0J1sF46OPHxM1LJk2VVMuImp7/uyFuf3noGatBDl4pNMKn674H/A07n1S pWTf4Z9VGhqQIrAPUvVTOKsvUll+sIASdTaakVsZglA+I0vS1LW0HCOf0mHKTGQmgp XlH4OgIXHP0BtGn5SSrPdEwGynT6KNuoNE7+2e7b2zK/IkiI7a6KDMtHk9UQCxSaXF PdOiWrdk/M0mLk17j2t9jTWpo813hOUWhbeUeqfzCFxdjrac/WJDD3URsrsAvyFNNZ ZiZAlNuuqbA9MwJkswgbDh67ytUO4kWwliXn6tg984Kmobk2oSD50kHTbs7PzS54t7 A5MV2NGrpCK7g== 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: <20261109140816.5196-5-leon.hwang@linux.dev> X-Cc: ast@kernel.org,daniel@iogearbox.net,john.fastabend@gmail.com,andrii@kernel.org,eddyz87@gmail.com,memxor@gmail.com,martin.lau@linux.dev,song@kernel.org,yonghong.song@linux.dev,jolsa@kernel.org,emil@etsalapatis.com,ihor.solodrai@linux.dev,rostedt@goodmis.org,mhiramat@kernel.org,mathieu.desnoyers@efficios.com,kpsingh@kernel.org,matt@bobrowski.net,shuah@kernel.org,leon.hwang@linux.dev,linux-kernel@vger.kernel.org,linux-trace-kernel@vger.kernel.org,linux-kselftest@vger.kernel.org,netdev@vger.kernel.org,ast@kernel.org,andrii@kernel.org,daniel@iogearbox.net,martin.lau@kernel.org,eddyz87@gmail.com,yonghong.song@linux.dev,mason@kernel.org,ihor.solodrai@linux.dev