This refactors sendmsg() and recvmsg() msg copy, async_data setup and its later use. Also deduplicates a couple of things helping to keep it saner. Pavel Begunkov (2): io_uring: update msg header on copy io_uring: setup iter for recv BUFFER_SELECT once fs/io_uring.c | 83 +++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 42 deletions(-) -- 2.24.0