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)
commitf499a021ea8c9f70321fce3d674d8eca5bbeee2c
tree9a0c52d1120d8df787c3dde47e2450037134507f
parent03b1230ca12a12e045d83b0357792075bf94a1e0
io_uring: ensure async punted connect requests copy data

Just like commit f67676d160c6 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