diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2012-10-16 15:26:14 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-12-18 05:50:33 +0100 |
commit | 9ed4cb073438e2154778f0d693d966359afd6549 (patch) | |
tree | d69dcb3b8a8cf9b719a8ee648551debbbf3152b6 /CREDITS | |
parent | virtio-net: remove unused skb_vnet_hdr->num_sg field (diff) | |
download | linux-9ed4cb073438e2154778f0d693d966359afd6549.tar.xz linux-9ed4cb073438e2154778f0d693d966359afd6549.zip |
virtio_net: don't rely on virtqueue_add_buf() returning capacity.
Now we can easily use vq->num_free to determine if there are descriptors
left in the queue, we're about to change virtqueue_add_buf() to return 0
on success. The virtio_net driver is the only one which actually uses
the return value, so change that.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions