commit | aa989f5e46bb913e1a5966bb7d32eb2d00c1894e | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Mon May 31 01:10:01 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 01 00:21:20 2010 -0700 |
tree | c33501bb56e85a5f1a84d071e531162382467833 | |
parent | 3ffd05159815d477f971a3259fc758f0c3c7e640 [diff] |
virtio-net: pass gfp to add_buf virtio-net bounces buffer allocations off to a thread if it can't allocate buffers from the atomic pool. However, if posting buffers still requires atomic buffers, this is unlikely to succeed. Fix by passing in the proper gfp_t parameter. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>