io_uring/io-wq: only free worker if it was allocated for creation
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: af82425c ("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>
Loading
-
mentioned in commit f45e8d63
-
mentioned in commit 31068721
-
mentioned in commit 747b0198
-
mentioned in commit a12d2d82
-
mentioned in commit f644a556
-
mentioned in commit edd66c19
-
mentioned in commit ccf5ed5e
-
mentioned in commit eb07c1a0
-
mentioned in commit 75961411
-
mentioned in commit 95a85d74
-
mentioned in commit 60944bdd
-
mentioned in commit 3b66f76c
-
mentioned in commit 74822bf3
-
mentioned in commit fb9be5fe
-
mentioned in commit a7125c16
-
mentioned in commit a989e0d7
-
mentioned in commit e03ad959
-
mentioned in commit b5842dfa
-
mentioned in commit 619fe90d
-
mentioned in commit 87ab710b
-
mentioned in commit 58ab117e
-
mentioned in commit 7ea8f292
-
mentioned in commit 721ffd73
-
mentioned in commit b579578d
Please sign in to comment