diff options
author | Pavel Begunkov <[email protected]> | 2020-07-24 20:07:20 +0300 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-07-24 12:51:33 -0600 |
commit | d5e16d8e23825304c6a9945116cc6b6f8d51f28c (patch) | |
tree | b386921fbd47c05693f732e95f19f90822d50805 /lib/mpi | |
parent | 3e863ea3bb1a2203ae648eb272db0ce6a1a2072c (diff) |
io_uring: fix ->work corruption with poll_add
req->work might be already initialised by the time it gets into
__io_arm_poll_handler(), which will corrupt it by using fields that are
in an union with req->work. Luckily, the only side effect is missing
put_creds(). Clean req->work before going there.
Suggested-by: Jens Axboe <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions