Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Mark Brown
Mon, 19 Oct 2026 16:10
linux-next: manual merge of the bpf-next tree with the vfs-brauner tree
Author: 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--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads