]> 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)
commit0e8f2c2a604fcb22e16bfed2cc143beed92d63d7
tree9a0c52d1120d8df787c3dde47e2450037134507f
parent9c3bbcaf435bab250a1f30d011a8e2619c27d479
io_uring: ensure async punted connect requests copy data

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