Skip to contentSkip to conversation

io_uring fixes for 6.11-rc6

GIT PULL Merged Jens Axboe 2 participants 2 messages Aug 30, 2024 – Aug 31, 2024 io_uring

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi 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