]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: ensure async punted connect requests copy data
authorJens Axboe <axboe@kernel.dk>
Mon, 2 Dec 2019 23:28:46 +0000 (16:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Dec 2019 14:04:30 +0000 (07:04 -0700)
commit4a575b34a3422449ded0d20edd64a6fedda2901c
tree9a0c52d1120d8df787c3dde47e2450037134507f
parent8e7017f62318df9ea8990d102f50f890c80974fe
io_uring: ensure async punted connect requests copy data

Just like commit b22cd3ef4a9a for read/write requests, this one ensures
that the sockaddr data has been copied for IORING_OP_CONNECT if we need
to punt the request to async context.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/linux/socket.h
net/socket.c