vmm: virtio-net: Handle single IOVs
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 5 Oct 2017 18:25:29 +0000 (14:25 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 5 Oct 2017 18:25:29 +0000 (14:25 -0400)
commitb8e742cf5aaea7c33c146ed8bef33de8beeee4ce
treec1fdd9b475d1e26584ef37089c2fa4d011f54b95
parent4b916f80c337675c7fd1b05ddfacf8ef261a33ad
vmm: virtio-net: Handle single IOVs

Newer versions of Linux send only one IOV, not two.  I didn't see anything
in the spec that says the payload is in the second IOV.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/vmm/virtio_net.c