]> git.dujemihanovic.xyz Git - linux.git/commit
io_uring/net: ensure expanded bundle recv gets marked for cleanup
authorJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:06:45 +0000 (15:06 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:06:45 +0000 (15:06 -0600)
commit11893e144ed75be55d99349760513ca104781fc0
tree78e7d1ece56cb6b19aec835f9549d5b7ae27476d
parentc3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb
io_uring/net: ensure expanded bundle recv 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: 2f9c9515bdfd ("io_uring/net: support bundles for recv")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c