From: Pavel Machek Date: Fri, 4 Dec 2015 08:50:00 +0000 (+0100) Subject: atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation X-Git-Tag: v3.2.75~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b13ca710909eeb40654ccdba2519a6f663f09ce;p=pandora-kernel.git atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation [ Upstream commit f2a3771ae8aca879c32336c76ad05a017629bae2 ] atl1c driver is doing order-4 allocation with GFP_ATOMIC priority. That often breaks networking after resume. Switch to GFP_KERNEL. Still not ideal, but should be significantly better. atl1c_setup_ring_resources() is called from .open() function, and already uses GFP_KERNEL, so this change is safe. Signed-off-by: Pavel Machek Acked-by: Michal Hocko Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed