commit | 36703247d5f52a679df9da51192b6950fe81689f | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Jul 25 10:20:18 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Jul 25 10:20:18 2019 -0600 |
tree | bad2dab2f508c0e23acfff04cad9389a9209a21e | |
parent | 77ce56e2bfaa64127ae5e23ef136c0168b818777 [diff] |
io_uring: ensure ->list is initialized for poll commands Daniel reports that when testing an http server that uses io_uring to poll for incoming connections, sometimes it hard crashes. This is due to an uninitialized list member for the io_uring request. Normally this doesn't trigger and none of the test cases caught it. Reported-by: Daniel Kozak <kozzi11@gmail.com> Tested-by: Daniel Kozak <kozzi11@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>