virtio-net: fix used len for tx
commit40bad8f3deba15e2074ff34cfe923c12916b1cc5
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Sep 2012 13:15:43 +0000 (24 15:15 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 28 Sep 2012 10:16:27 +0000 (28 12:16 +0200)
treefed6639ff73ec3cc2d783898158165dc02906af5
parent0cea71a207508c2b8f563b2644ac46009832c8f4
virtio-net: fix used len for tx

There is no out sg for TX, so used buf length for tx
should always be 0.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio-net.c