io_uring fixes for 6.11-rc6
Jens Axboe
maintainerHi Linus,
Here are two fixes that should go into the 6.11 release:
- A fix for a regression that happened in 6.11 merge window, where the copying of iovecs for compat mode applications got broken for certain cases.
- Fix for a bug introduced in 6.10, where if using recv/send bundles with classic provided buffers, the recv/send would fail to set the right iovec count. This caused 0 byte send/recv results. Found via code coverage testing and writing a test case to exercise it.
Please pull!
The following changes since commit e0ee967630c8ee67bb47a5b38d235cd5a8789c48:
io_uring/kbuf: sanitize peek buffer setup (2024-08-21 07:16:38 -0600)
are available in the Git repository at:
git://git.kernel.dk/linux.git tags/io_uring-6.11-20240830
for you to fetch changes up to f274495aea7b15225b3d83837121b22ef96e560c:
io_uring/kbuf: return correct iovec count from classic buffer peek (2024-08-30 10:45:54 -0600)
----------------------------------------------------------------
io_uring-6.11-20240830
----------------------------------------------------------------
Jens Axboe (2):
io_uring/rsrc: ensure compat iovecs are copied correctly io_uring/kbuf: return correct iovec count from classic buffer peek
io_uring/kbuf.c | 2 +- io_uring/rsrc.c | 19 +++++++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 30 Aug 2024 14:31:57 -0600:
The pull request you sent on Fri, 30 Aug 2024 14:31:57 -0600:
Quoted 1 line
git://git.kernel.dk/linux.gittags/io_uring-6.11-20240830
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ad246d9f04aa037f8e8bbf8573c9af527114cead
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html