Article View: linux.kernel.netdev
Article #4994linux-next: manual merge of the bpf-next tree with the vfs-brauner tree
From: Mark Brown
Date: Mon, 19 Oct 2026 16:10
Date: Mon, 19 Oct 2026 16:10
63 lines
9417 bytes
9417 bytes
--UDGqM2jls/p2DpRp
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
Today's linux-next merge of the bpf-next tree got a conflict in:
kernel/bpf/token.c
between commit:
64cbb36448ff2 ("file: make struct fd_prepare const and kill its err field=
")
=66rom the vfs-brauner tree and commit:
f52b699c88634 ("bpf: Don't leak the inode when token creation fails")
=66rom the bpf-next tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc kernel/bpf/token.c
index da915a4f972b1,19660ef95ddbd..0000000000000
--- a/kernel/bpf/token.c
+++ b/kernel/bpf/token.c
@@@ -169,8 -169,11 +169,11 @@@ int bpf_token_create(union bpf_attr *at
FD_PREPARE(fdf, O_CLOEXEC,
alloc_file_pseudo(inode, path.mnt, BPF_TOKEN_INODE_NAME,
O_RDWR, &bpf_token_fops));
- if (fdf->fd < 0)
- if (fdf.err) {
++ if (fdf->fd < 0) {
+ /* no file took over the inode reference */
+ iput(inode);
- return fdf.err;
+ return fdf->fd;
+ }
=20
token =3D kzalloc_obj(*token, GFP_USER);
if (!token)
--UDGqM2jls/p2DpRp
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQReagvpf3TrrA7BoYYv73Ows9A4iQUCatZA/gAKCRAv73Ows9A4
iWCvAPkB6ZbL6E1j7g5FYtyC+2t7fVO6dIZrRPranvAHwPucCAEA49FlEn4YlBCE
t9E6OGS0+1cKXqy1ACJY7o9t+222mw8=
=aX1v
-----END PGP SIGNATURE-----
--UDGqM2jls/p2DpRp--
Technical Details
Message-ID:
<atZBAZTtUd6mr09s@sirena.co.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348699-linux-kernel-netdev=dewy.ruShow 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-348699-linux-kernel-netdev=dewy.ru From: broonie@kernel.org (Mark Brown) Newsgroups: linux.kernel.netdev Subject: linux-next: manual merge of the bpf-next tree with the vfs-brauner tree Date: Mon, 19 Oct 2026 17:10:41 +0100 Organization: Usenet Network Message-ID: <atZBAZTtUd6mr09s@sirena.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UDGqM2jls/p2DpRp" Injection-Info: usenet.network; logging-data="3652486"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:ZIAKMOzocazrXhjEMyo6ZSSENuo= sha256:Y/8UU8TbtAHB0yHzD2iUMMCIN5L/cee/fKdnj9ZCPWo= sha1:BcQd/qgKV2LjI7/pKkfXfHIJKkQ= sha256:qOrzGTuO7O+77/fZa/02+HXdtrtjkHk/Srje5cB7Elc= Content-Disposition: inline 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 0AD5A110A55; Mon, 19 Oct 2026 19:20:50 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.829 X-Spam-Status: No, score=-3.829 tagged_above=-9999 required=6.31 tests=[DKIMWL_WL_HIGH=-0.329, 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 9_DYY0rMIah0; Mon, 19 Oct 2026 19:20:47 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-348699-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id AB73F110A50; Mon, 19 Oct 2026 19:20:39 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (aws-us-west-2-korg-listserv-alma10-1.taild15c8.ts.net [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id C5E6E61B7D3; Mon, 19 Oct 2026 16:13:00 +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=1792426245; b=AOmYTmBU26sdAp8kxLTfiUXPCB0axHxl/t2qSQ6Cf0lI9qk/gC7+srrfJWisx9rf8XKj mMW3lxHPREmWxGs/WYb4PtS5EBguAl4Pi63zK5KzinjQuwl1mfxjs4866FFDOzsqSe+Vi AGa92mO/to+l5I7D0UMCABeXPDG85t2bb38caLV1qDClQiGX669f2plFU8+xCM8KSoPL4 vRGQVF/XiqMZz4pUltvXvcIb/+F2/Fn60tbOErI/ZxsiqvCs20XgCGghPrD4qWGBRJ0Xi NToUoodJ/9bHm0L77E9bn+aCTuQXZRIfAdPyrHKqURNmjG4Bs2rPOZGuIv5YvC0rVtA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792426245; h=X-Original-To:Received:Received:DKIM-Signature:Received:Date:From:To: Cc:Subject:Message-ID:X-Mailing-List:List-Id:List-Post:List-Help: List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Type:Content-Disposition; bh=BwqJ94bd75cZjVpXn/TlgXd93/gMvYA1acKy07eUl1c=; b=3HH/ppEbCYqfCxOyG/Ng2LSW++VM/6LoNYpSRAP30tDS4vgrURfI5/l5miRf0Ye/7oSO Bfe4zV8b9/gHNZrsWwRvqiofUfVjF/kWYfPEzjL7+D3X4EiSbW0vWUfZvGE88vpBFvG2Y JmvdLln0/ekxEv28EQnYTFgXERMhfoWXRPZOkCS6g4bH+APRPJJk23kbP6G1DUld/gth2 drDkVVSgOGd/T+B2SxFaroB1yA9Ml7Ch9ZTZQ1WURZ0zyDvr4WScbmYpC3t9ID4oSEGot 5YGMhp89Ik9Yb7S9STWUn7L1cMRt4BChEy9UiXkGx4qWET3Vwj0O8NaYXRGOLycOLIQ== 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=J0sdwG2W; 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 7AAFF606AF97; Mon, 19 Oct 2026 16:10:45 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=J0sdwG2W 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=1792426244; b=lK/9DRH+7/qZqINfhVldYgUCNpcNf8kQfv7qNiRI3/cZqaRSA0DWCNQ5h+KZBvtIeVCA qIrRyFeQFjt7ALV+s5oP7BmSw4COmNM+IJ+Hv+kpo9SHaXMgeSS7fkmL5Xx+Dt4UEXhuy yr1memitX4cy/GqFzOmWp34BzzfKEeMG26r6VhEJ0nAQO3C382jaBDNGjcwFSMKt7M75d 7q02vLoUZ8VZTYEfGyT4xPqVdGWQJ6cdNRCOV4f4y/EBJirSnwWsifYrIl+jKFVqzqyqH s3Rgyhn3lrUghOaqsvwepdlve7L1ypRg+JChv/c2mIyjfDyzODx+MFXa2zaDZZfXzmQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792426244; h=Received:DKIM-Signature:Received:Date:From:To:Cc:Subject:Message-ID: MIME-Version:Content-Type:Content-Disposition; bh=BwqJ94bd75cZjVpXn/TlgXd93/gMvYA1acKy07eUl1c=; b=Dk7ZFovCR86EgOm67yGX7Ij0dyfpAZgRtsoDQqfXfCH3Gz+3zQG+Q5vGnXnxh8YzlGa4 jr5WWiPanxnRdVrRSYs3h5ilLXrlad3DGE2a82/cFsvxNGtv4gA3HAFwRuHh2ddoMX4W5 N3L47zaJZMQfsyhvP6kiIVZYGMhmuqTeOt4Z/sa5jSfR4sowidouLguO434WQgoyshjxt SUnhjZwQl7ZUzFiso4/xS7FFgSpuPlYVgwXM9VakAUUHScE8vCi2yFR+j7zJykAfSpq4C CrfL8yFGT4LgCKfwB35ZSNN954Eqob83QpnyUc7CWhzD5IKZ5KGGzdYqBonQQpSW7Xg== 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=J0sdwG2W; 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 5B837606A32D; Mon, 19 Oct 2026 16:10:44 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D22641F000C6; Mon, 19 Oct 2026 16:10:43 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792426244; bh=BwqJ94bd75cZjVpXn/TlgXd93/gMvYA1acKy07eUl1c=; h=Date:From:To:Cc:Subject; b=J0sdwG2WLlP/0a+gCfWUUIzC0AQ8118B1emqMQhvSET1cn14pIomliXRK/EszZVaB 6hgDtgyAHdfKfcDFSL/4FV0GJiaX+QMYilSNdn5pELRLz5MGXrFfn7c3mV632aGyCP kfYqasO0zusNdTDVw9X9N7Uccngs5DL8EbG+QDpqjheITJSJdK9Qg8JuwPDJY07ZQi hvSOxYG1r6wiuk+Fo9Z3Nir78SZcFm3Jcm6NyImIlDnjO0XRuXk7sIrYrm9c7cJ5mj HiQWh7vvEFAbJ+nRnc4143DHmjRIkTwGAd4eSSMSECf/pWODSrAaQqLz8vuoXna/WP D+5fQhr+gNnWg== X-Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id BD0D01AC57D0; Mon, 19 Oct 2026 17:10:41 +0100 (BST) X-Cc: Christian Brauner <brauner@kernel.org>, Josef Bacik <josef@toxicpanda.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Linux Next Mailing List <linux-next@vger.kernel.org> 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