diff options
author | Mike Waychison <mikew@google.com> | 2012-01-04 13:52:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-05 19:20:40 +0100 |
commit | 3464645a10f80ce39bc90c5494a3e92387947818 (patch) | |
tree | dc47cf6f3965f09d65fc9bd5e628cebc9d6b3eec /fs/anon_inodes.c | |
parent | ixgbe: FCoE: Add support for ndo_get_fcoe_hbainfo() call (diff) | |
download | linux-3464645a10f80ce39bc90c5494a3e92387947818.tar.xz linux-3464645a10f80ce39bc90c5494a3e92387947818.zip |
virtio_net: Pass gfp flags when allocating rx buffers.
Currently, the refill path for RX buffers will always allocate the
buffers as GFP_ATOMIC, even if we are in process context. This will
fail to apply memory pressure as the worker thread will not contribute
to the freeing of memory.
Fix this by changing add_recvbuf_small to use the gfp variant allocator,
__netdev_alloc_skb_ip_align().
Signed-off-by: Mike Waychison <mikew@google.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions