diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2010-10-08 04:25:00 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-28 21:51:36 -0700 |
commit | 431e8d4b696f8cc10db1458865262139dda15e42 (patch) | |
tree | 0adcee8a30c83d240e3eaf4ab39cce2c80cfd219 /lib/dynamic_debug.c | |
parent | 2af177aa5f4de44ac9f142f6bc51469f915ab159 (diff) |
r8169: allocate with GFP_KERNEL flag when able to sleep
commit aeb19f6052b5e5c8a24aa444fbff73b84341beac upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions