lkml.org 
[lkml]   [2017]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2017-10-26 19:56    [W:0.049 / U:4.780 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site