• M
    virtio-net: avoid sg copy · 22cc84db
    Michael S. Tsirkin 提交于
    Avoid tweaking iovec during receive. This removes
    the need to copy the vector.
    Note: we currently have an evil cast in work_around_broken_dhclient
    and unfortunately this patch does not fix it - just
    pushes the evil cast to another place.
    Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
    22cc84db
virtio-net.c 31.6 KB