]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring/net: ensure expanded bundle send gets marked for cleanup
authorJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:08:17 +0000 (15:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:08:17 +0000 (15:08 -0600)
commit70ed519ed59da3a92c3acedeb84a30e5a66051ce
tree834bd57c55cc3d3d5644e0a7a590fe5b3ece1e0e
parent11893e144ed75be55d99349760513ca104781fc0
io_uring/net: ensure expanded bundle send gets marked for cleanup

If the iovec inside the kmsg isn't already allocated AND one gets
expanded beyond the fixed size, then the request may not already have
been marked for cleanup. Ensure that it is.

Cc: stable@vger.kernel.org
Fixes: a05d1f625c7a ("io_uring/net: support bundles for send")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c