]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/net: import zc ubuf earlier
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 28 Mar 2025 23:11:00 +0000 (23:11 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Mar 2025 23:11:20 +0000 (17:11 -0600)
commitfbe1a30c5d3e6f184ddd63deded6f30c3ecc4c3f
treec170d7f052b266b7e954ae6e3ed0c02b5c9f7ee1
parentad3f6cc40084f9adb1a53bf386d966073dc6a4e9
io_uring/net: import zc ubuf earlier

io_send_setup() already sets up the iterator for IORING_OP_SEND_ZC, we
don't need repeating that at issue time. Move it all together with mem
accounting at prep time, which is more consistent with how the non-zc
version does that.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/eb54f007c493ad9f4ca89aa8e715baf30d83fb88.1743202294.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c