diff options
author | 2019-09-18 11:18:23 -0600 | |
---|---|---|
committer | 2019-09-18 11:19:26 -0600 | |
commit | 6cc47d1d2a9b631f62405f56df651975c7587a97 (patch) | |
tree | 0c4953ff478f9a93ea337e637b5ede612830dd8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: fix use-after-free of shadow_req (diff) | |
download | wireguard-linux-6cc47d1d2a9b631f62405f56df651975c7587a97.tar.xz wireguard-linux-6cc47d1d2a9b631f62405f56df651975c7587a97.zip |
io_uring: ensure poll commands clear ->sqe
If we end up getting woken in poll (due to a signal), then we may need
to punt the poll request to an async worker. When we do that, we look up
the list to queue at, deferefencing req->submit.sqe, however that is
only set for requests we initially decided to queue async.
This fixes a crash with poll command usage and wakeups that need to punt
to async context.
Fixes: 54a91f3bb9b9 ("io_uring: limit parallelism of buffered writes")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions