benet: use GFP_KERNEL allocations when possible
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 1 Mar 2011 05:48:12 +0000 (05:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Mar 2011 21:02:30 +0000 (13:02 -0800)
Extend be_alloc_pages() with a gfp parameter, so that we use GFP_KERNEL
allocations instead of GFP_ATOMIC when not running in softirq context.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found