]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/unix: drop usage of io_uring socket
authorJens Axboe <axboe@kernel.dk>
Tue, 19 Dec 2023 19:30:43 +0000 (12:30 -0700)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:09 +0000 (18:19 -0400)
commit303c0a13833f84926a74e4fe10bf229def255f60
tree60bbe228657a5caa9a522d470549865514d6f5b0
parent049f043fe8cd759e5245c55e1788b2b664e1fc39
io_uring/unix: drop usage of io_uring socket

Commit a4104821ad651d8a0b374f0b2474c345bbb42f82 upstream.

Since we no longer allow sending io_uring fds over SCM_RIGHTS, move to
using io_is_uring_fops() to detect whether this is a io_uring fd or not.
With that done, kill off io_uring_get_socket() as nobody calls it
anymore.

This is in preparation to yanking out the rest of the core related to
unix gc with io_uring.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/io_uring.h
io_uring/io_uring.c
io_uring/io_uring.h
net/core/scm.c
net/unix/scm.c