]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/net: unify how recvmsg and sendmsg copy in the msghdr
authorJens Axboe <axboe@kernel.dk>
Mon, 19 Feb 2024 21:16:47 +0000 (14:16 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Feb 2024 16:56:50 +0000 (09:56 -0700)
commit52307ac4f2b507f60bae6df5be938d35e199c688
tree0ba2963eeb9121e652d9d4aaeebfcae95815453e
parentb4ccc4dd1330a4d0db6aa4c6781631d1bab76c45
io_uring/net: unify how recvmsg and sendmsg copy in the msghdr

For recvmsg, we roll our own since we support buffer selections. This
isn't the case for sendmsg right now, but in preparation for doing so,
make the recvmsg copy helpers generic so we can call them from the
sendmsg side as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c