diff options
author | 2024-03-06 07:57:57 -0700 | |
---|---|---|
committer | 2024-03-08 07:57:27 -0700 | |
commit | d9b441889c3595aa18f89ee42c6d22bb62234343 (patch) | |
tree | a2a338ac36d1d4fcd3129ebe54706051e2bee6fd /scripts/generate_rust_analyzer.py | |
parent | io_uring/net: simplify msghd->msg_inq checking (diff) | |
download | linux-rng-d9b441889c3595aa18f89ee42c6d22bb62234343.tar.xz linux-rng-d9b441889c3595aa18f89ee42c6d22bb62234343.zip |
io_uring/net: add io_req_msg_cleanup() helper
For the fast inline path, we manually recycle the io_async_msghdr and
free the iovec, and then clear the REQ_F_NEED_CLEANUP flag to avoid
that needing doing in the slower path. We already do that in 2 spots, and
in preparation for adding more, add a helper and use it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions