diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-08 20:39:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-18 13:58:33 +0300 |
commit | e62e6258ab140b55bbef1f0d288263b75e2f0c20 (patch) | |
tree | 238f16d533d2946bc115273dcb32c69b3b1ba0e9 /scripts/gdb/linux/lists.py | |
parent | 0a14c3ded80c7dd399e68f361ee3338b5271c98e (diff) | |
download | linux-e62e6258ab140b55bbef1f0d288263b75e2f0c20.tar.xz |
io_uring/io-wq: only free worker if it was allocated for creation
commit e6db6f9398dadcbc06318a133d4c44a2d3844e61 upstream.
We have two types of task_work based creation, one is using an existing
worker to setup a new one (eg when going to sleep and we have no free
workers), and the other is allocating a new worker. Only the latter
should be freed when we cancel task_work creation for a new worker.
Fixes: af82425c6a2d ("io_uring/io-wq: free worker if task_work creation is canceled")
Reported-by: syzbot+d56ec896af3637bdb7e4@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions