From: Alexey Khoroshilov Date: Mon, 30 May 2011 07:06:24 +0000 (+0000) Subject: drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run() X-Git-Tag: v3.0-rc2~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=930a6eac9f40e692bd9670d89bcd9ac0f4019356;p=pandora-kernel.git drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run() 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed