diff options
author | Pavel Machek <pavel@ucw.cz> | 2015-12-04 09:50:00 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2015-12-30 02:26:02 +0000 |
commit | 8b13ca710909eeb40654ccdba2519a6f663f09ce (patch) | |
tree | 8887e3267dda09f2ef23c6bf86e02db9dcc057ce /net/unix/af_unix.c | |
parent | dfc263fdf39a48ac2190c166af9377acba086531 (diff) |
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 <pavel@ucw.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions