]> git.dujemihanovic.xyz Git - linux.git/commit
io_uring/net: don't pick multiple buffers for non-bundle send
authorJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:09:33 +0000 (15:09 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Aug 2024 21:20:52 +0000 (15:20 -0600)
commit8fe8ac24adcd76b12edbfdefa078567bfff117d4
treefeac8553180f619ef6b7318725e5e777ca5b2702
parent70ed519ed59da3a92c3acedeb84a30e5a66051ce
io_uring/net: don't pick multiple buffers for non-bundle send

If a send is issued marked with IOSQE_BUFFER_SELECT for selecting a
buffer, unless it's a bundle, it should not select multiple buffers.

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