Re: [PATCH] drivers/net/usb/catc.c: Fix potential deadlock in catc_ctrl_run()
From: David Miller <davem@davemloft.net>
Date: 2011-05-31 22:30:50
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2011-05-31 22:30:50
Also in:
lkml
From: Alexey Khoroshilov <redacted> 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 <redacted>
Applied.