io_uring: ensure async punted sendmsg/recvmsg requests copy data
authorJens Axboe <axboe@kernel.dk>
Tue, 3 Dec 2019 01:50:25 +0000 (18:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Dec 2019 14:03:35 +0000 (07:03 -0700)
commit03b1230ca12a12e045d83b0357792075bf94a1e0
tree8e48065fa8fdf13dc553a39bb4d61318689d4414
parentf67676d160c6ee2ed82917fadfed6d29cab8237c
io_uring: ensure async punted sendmsg/recvmsg requests copy data

Just like commit f67676d160c6 for read/write requests, this one ensures
that the msghdr data is fully copied if we need to punt a recvmsg or
sendmsg system call to async context.

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