commit | 930a6eac9f40e692bd9670d89bcd9ac0f4019356 | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Mon May 30 07:06:24 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue May 31 15:30:17 2011 -0700 |
tree | 9da346841ed70c260580d29e9462ad629d0f076f | |
parent | a000c01e60e40e15304ffe48fff051d17a7bea91 [diff] |
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 <khoroshilov@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>