Looks like an oversight that this is currently disabled, but I guess it didn't matter before we had direct descriptor support for socket. Signed-off-by: Jens Axboe <axboe@xxxxxxxxx> --- diff --git a/fs/io_uring.c b/fs/io_uring.c index 17b4dc9f130f..b83134906a3a 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -5982,8 +5982,7 @@ static int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) if (unlikely(req->ctx->flags & IORING_SETUP_IOPOLL)) return -EINVAL; - if (sqe->ioprio || sqe->len || sqe->buf_index || sqe->rw_flags || - sqe->splice_fd_in) + if (sqe->ioprio || sqe->len || sqe->buf_index || sqe->rw_flags) return -EINVAL; conn->addr = u64_to_user_ptr(READ_ONCE(sqe->addr)); -- Jens Axboe