]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/net: derive iovec storage later
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 26 Feb 2025 11:41:19 +0000 (11:41 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Feb 2025 14:27:55 +0000 (07:27 -0700)
commit0c623f489987c76726b8ec0e089a89df53caea3b
tree791d94dc175ca011cd00f0f0cd71e8a72e890ce7
parent00a9143d9872d9913a14ef1116b140ff346acd3e
io_uring/net: derive iovec storage later

Don't read free_iov until right before we need it to import the iovec.
The only place that uses it before that is provided buffer selection,
but it only serves as temporary storage and iovec content is not reused
afterwards, so use a local variable for that.

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