From: Dan Carpenter Date: Fri, 27 Jul 2012 01:46:51 +0000 (+0000) Subject: USB: kaweth.c: use GFP_ATOMIC under spin_lock X-Git-Tag: v3.2.28~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d0e6b0307f37720d4be8609955f78074880f1b;p=pandora-kernel.git USB: kaweth.c: use GFP_ATOMIC under spin_lock [ Upstream commit e4c7f259c5be99dcfc3d98f913590663b0305bf8 ] The problem is that we call this with a spin lock held. The call tree is: kaweth_start_xmit() holds kaweth->device_lock. -> kaweth_async_set_rx_mode() -> kaweth_control() -> kaweth_internal_control_msg() The kaweth_internal_control_msg() function is only called from kaweth_control() which used GFP_ATOMIC for its allocations. Signed-off-by: Dan Carpenter Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed