diff options
| author | Jens Axboe <axboe@kernel.dk> | 2026-02-16 14:16:27 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-02-16 14:16:27 -0700 |
| commit | 22dbb0987bd1e0ec3b1e4ad20756a98f99aa4a08 (patch) | |
| tree | f6e90ffa1bca2acbd83fd5c23934025058dc0629 /include/uapi/linux/msg.h | |
| parent | 2e02f9efdbc6c73544e315b7eb85e55a59776b6f (diff) | |
io_uring/cancel: de-unionize file and user_data in struct io_cancel_data
By having them share the same space in struct io_cancel_data, it ends up
disallowing IORING_ASYNC_CANCEL_FD|IORING_ASYNC_CANCEL_USERDATA from
working. Eg you cannot match on both a file and user_data for
cancelation purposes. This obviously isn't a common use case as nobody
has reported this, but it does result in -ENOENT potentially being
returned when trying to match on both, rather than actually doing what
the API says it would.
Fixes: 4bf94615b888 ("io_uring: allow IORING_OP_ASYNC_CANCEL with 'fd' key")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/msg.h')
0 files changed, 0 insertions, 0 deletions
