io_uring fixes for 6.12-rc2
Jens Axboe
maintainerHi Linus,
A few minor fixes that should go into 6.12-rc2:
- Fix an error path memory leak, if one part fails to allocate. Obviously not something that'll generally hit without error injection.
- Fix an io_req_flags_t cast to make sparse happier.
- Improve the recv multishot termination. Not a bug now, but could be one in the future. This makes it do the same thing that recvmsg does in terms of when to terminate a request or not.
Please pull!
The following changes since commit 6fa6588e5964473356f0e2a02093ea42a5b3fd56:
Merge tag 'sched_ext-for-6.12-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (2024-09-24 11:33:50 -0700)
are available in the Git repository at:
git://git.kernel.dk/linux.git tags/io_uring-6.12-20241004
for you to fetch changes up to c314094cb4cfa6fc5a17f4881ead2dfebfa717a7:
io_uring/net: harden multishot termination case for recv (2024-09-30 08:26:59 -0600)
----------------------------------------------------------------
io_uring-6.12-20241004
----------------------------------------------------------------
Guixin Liu (1):
io_uring: fix memory leak when cache init fail
Jens Axboe (1):
io_uring/net: harden multishot termination case for recv
Min-Hua Chen (1):
io_uring: fix casts to io_req_flags_t
io_uring/io_uring.c | 7 +++++-- io_uring/net.c | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
Jens Axboe
The pull request you sent on Fri, 4 Oct 2024 09:10:53 -0600:
The pull request you sent on Fri, 4 Oct 2024 09:10:53 -0600:
Quoted 1 line
git://git.kernel.dk/linux.gittags/io_uring-6.12-20241004
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/43454e83916dc515e3d11fd07d50c40e6e555873
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html