lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run()
From
From: Alexey Khoroshilov <khoroshilov@ispras.ru>
Date: Mon, 30 May 2011 21:06:24 +0400

> catc_ctrl_run() calls usb_submit_urb() with GFP_KERNEL, while it is called from
> catc_ctrl_async() and catc_ctrl_done() with catc->ctrl_lock spinlock held.
>
> The patch replaces GFP_KERNEL with GFP_ATOMIC.
>
> Found by Linux Driver Verification project (linuxtesting.org).
>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Applied.


\
 
 \ /
  Last update: 2011-06-01 00:33    [W:0.048 / U:2.712 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site