Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'io_uring-6.14-20250321' of git://git.kernel.dk/linux

Pull io_uring fix from Jens Axboe:
"Single fix heading to stable, fixing an issue with io_req_msg_cleanup()
sometimes too eagerly clearing cleanup flags"

* tag 'io_uring-6.14-20250321' of git://git.kernel.dk/linux:
io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally

+1 -2
+1 -2
io_uring/net.c
··· 148 148 io_alloc_cache_kasan(&hdr->free_iov, &hdr->free_iov_nr); 149 149 if (io_alloc_cache_put(&req->ctx->netmsg_cache, hdr)) { 150 150 req->async_data = NULL; 151 - req->flags &= ~REQ_F_ASYNC_DATA; 151 + req->flags &= ~(REQ_F_ASYNC_DATA|REQ_F_NEED_CLEANUP); 152 152 } 153 153 } 154 154 ··· 441 441 static void io_req_msg_cleanup(struct io_kiocb *req, 442 442 unsigned int issue_flags) 443 443 { 444 - req->flags &= ~REQ_F_NEED_CLEANUP; 445 444 io_netmsg_recycle(req, issue_flags); 446 445 } 447 446