r8169: allocate with GFP_KERNEL flag when able to sleep
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 8 Oct 2010 04:25:00 +0000 (04:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Oct 2010 16:15:34 +0000 (09:15 -0700)
We have fedora bug report where driver fail to initialize after
suspend/resume because of memory allocation errors:
https://bugzilla.redhat.com/show_bug.cgi?id=629158

To fix use GFP_KERNEL allocation where possible.

Tested-by: Neal Becker <ndbecker2@gmail.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found