Re: [PATCH v2] workqueue: Fix double kfree for rescuer

From: Markus Elfring
Date: Mon May 25 2020 - 05:55:16 EST


> * The function call âdestroy_workqueueâ can be performed there in an if branch
> after the statement âwq->rescuer = NULLâ was executed.

Another correction:
* The function call âkfree(rescuer)â can be performed there in an if branch
after the statement âwq->rescuer = NULLâ was executed.

Regards,
Markus