commit | ab6f148de28261682d300662e87b9477f7efc95b | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oliver@neukum.org> | Sun Aug 26 20:41:38 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 31 16:12:21 2012 -0400 |
tree | bbeb5fe3437e73b64562a0f48e65e2634f568d40 | |
parent | b72c200975a4ed579dbf3353019e19528745a29a [diff] |
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 <oneukum@suse.de> CC: stable@kernel.org Signed-off-by: David S. Miller <davem@davemloft.net>