Thread (3 messages) 3 messages, 2 authors, 2011-05-31

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: 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help