]> git.itanic.dy.fi Git - linux-stable/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)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Dec 2023 19:33:50 +0000 (12:33 -0700)
commita4104821ad651d8a0b374f0b2474c345bbb42f82
tree46fba3dddd88e21c0ffeb456a0dd0a5b02c61d24
parentc43203154d8ac579537aa0c7802b77d463b1f53a
io_uring/unix: drop usage of io_uring socket

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>
include/linux/io_uring.h
io_uring/io_uring.c
io_uring/io_uring.h
net/core/scm.c
net/unix/scm.c