diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-01-02 16:49:46 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-01-02 16:49:46 -0700 |
commit | af82425c6a2d2f347c79b63ce74fca6dc6be157f (patch) | |
tree | d825904ffb32c416167ba6523a4668ec28bf03f9 /io_uring/io_uring.c | |
parent | 9eb803402a2a83400c6c6afd900e3b7c87c06816 (diff) | |
download | lwn-af82425c6a2d2f347c79b63ce74fca6dc6be157f.tar.gz lwn-af82425c6a2d2f347c79b63ce74fca6dc6be157f.zip |
io_uring/io-wq: free worker if task_work creation is canceled
If we cancel the task_work, the worker will never come into existance.
As this is the last reference to it, ensure that we get it freed
appropriately.
Cc: stable@vger.kernel.org
Reported-by: 진호 <wnwlsgh98@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
0 files changed, 0 insertions, 0 deletions