Jens Axboe f3a640cca9 io_uring/net: ensure async prep handlers always initialize ->done_io
If we get a request with IOSQE_ASYNC set, then we first run the prep
async handlers. But if we then fail setting it up and want to post
a CQE with -EINVAL, we use ->done_io. This was previously guarded with
REQ_F_PARTIAL_IO, and the normal setup handlers do set it up before any
potential errors, but we need to cover the async setup too.

Fixes: 9817ad85899f ("io_uring/net: remove dependency on REQ_F_PARTIAL_IO for sr->done_io")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-03-16 10:33:19 -06:00
2024-03-11 11:43:44 -07:00
2024-03-11 11:43:44 -07:00
2024-03-11 13:13:22 -07:00
2024-03-11 11:43:44 -07:00
2024-03-11 13:13:22 -07:00
2024-03-11 12:50:42 -07:00
2023-12-20 19:26:31 -05:00
2024-03-11 13:13:22 -07:00
2024-03-11 09:38:17 -07:00
2024-03-11 11:02:06 -07:00
2024-03-11 11:35:31 -07:00
2024-03-11 12:50:42 -07:00
2024-03-11 12:31:28 -07:00
2024-03-05 13:21:30 -08:00
2024-03-08 08:53:36 +01:00
2024-03-11 12:50:42 -07:00
2024-01-18 17:57:07 -08:00
2024-03-08 12:44:56 -08:00
2022-09-28 09:02:20 +02:00
2024-03-11 09:55:17 -07:00
2022-10-10 12:00:45 -07:00
2024-03-11 09:55:17 -07:00
2024-03-11 12:31:28 -07:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
No description provided
Readme 5.7 GiB
Languages
C 97.6%
Assembly 1%
Shell 0.5%
Python 0.3%
Makefile 0.3%