]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9c3bbcaf435bab250a1f30d011a8e2619c27d479
tree8e48065fa8fdf13dc553a39bb4d61318689d4414
parent3adcd29a981547d359186e880ae8ca8aad67674b
io_uring: ensure async punted sendmsg/recvmsg requests copy data

Just like commit 3adcd29a9815 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