From: Oliver Neukum Date: Sun, 26 Aug 2012 20:41:38 +0000 (+0000) Subject: usbnet: fix deadlock in resume X-Git-Tag: v3.6-rc5~20^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6f148de28261682d300662e87b9477f7efc95b;p=pandora-kernel.git usbnet: fix deadlock in resume A usbnet device can share a multifunction device with a storage device. If the storage device is autoresumed the usbnet devices also needs to be autoresumed. Allocating memory with GFP_KERNEL can deadlock in this case. This should go back into all kernels that have commit 65841fd5132c3941cdf5df09e70df3ed28323212 That is 3.5 Signed-off-by: Oliver Neukum CC: stable@kernel.org Signed-off-by: David S. Miller --- Reading git-diff-tree failed