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: NMichael S. Tsirkin <mst@redhat.com>
Showing
想要评论请 注册 或 登录
There is no out sg for TX, so used buf length for tx
should always be 0.
Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>