Messages in this thread | | | Date | Thu, 26 Oct 2017 10:55:58 -0700 | From | Tejun Heo <> | Subject | Re: [PATCH] workqueue: Fix NULL pointer dereference |
| |
Hello,
On Thu, Oct 26, 2017 at 11:55:00PM +0800, Lai Jiangshan wrote: > I remember that softirq can be invoked when irq_eixt(), > and in this case the current->current_pwq is also NULL > if __queue_work() is called in the soft irq. > > So in_task() might be better than !in_irq() for the fix?
Reverted the patch for now. Li, what do you think?
Thanks.
-- tejun
| |