aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMike Waychison <[email protected]>2012-01-04 12:52:32 +0000
committerDavid S. Miller <[email protected]>2012-01-05 13:20:40 -0500
commit3464645a10f80ce39bc90c5494a3e92387947818 (patch)
treedc47cf6f3965f09d65fc9bd5e628cebc9d6b3eec /net/lapb/lapb_timer.c
parentea81875ae07aeaca285afd2771425f771294c93c (diff)
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 <[email protected]> Acked-by: Rusty Russell <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions