diff options
| author | 2025-08-22 08:19:56 -0600 | |
|---|---|---|
| committer | 2025-08-27 11:24:25 -0600 | |
| commit | 4c0b26e23c79ecf934a92b2d9a516bffbb61c3e4 (patch) | |
| tree | b7902b44c0e98b37062e50db2012a703dd9bb241 /scripts/basic/git:/ssh:/git@git.zx2c4.com | |
| parent | io_uring/zcrx: add support for IORING_SETUP_CQE_MIXED (diff) | |
| download | wireguard-linux-4c0b26e23c79ecf934a92b2d9a516bffbb61c3e4.tar.xz wireguard-linux-4c0b26e23c79ecf934a92b2d9a516bffbb61c3e4.zip | |
io_uring: add async data clear/free helpers
Futex recently had an issue where it mishandled how ->async_data and
REQ_F_ASYNC_DATA is handled. To avoid future issues like that, add a set
of helpers that either clear or clear-and-free the async data assigned
to a struct io_kiocb.
Convert existing manual handling of that to use the helpers. No intended
functional changes in this patch.
Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/basic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
