]> git.proxmox.com Git - qemu.git/commit
virtio-net: use safe iov operations for rx
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 24 Sep 2012 11:17:13 +0000 (13:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 29 Oct 2012 16:25:23 +0000 (18:25 +0200)
commit63c5872873de8d7d994a589eed7bfe6a70cc8e06
tree58e21e177b125af2626e552b20831a35d11d1199
parent22cc84db6e42bef8646b8cd671f4c999e9c0a38f
virtio-net: use safe iov operations for rx

Avoid magling iov manually: use safe iov operations
for processing packets incoming to guest.
This also removes the requirement for virtio header to
fit the first s/g entry exactly.

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