commit | 38c75be3139a117b02350dbda9d48d47aa57fa3d | [log] [tgz] |
---|---|---|
author | Mark McLoughlin <markmc@redhat.com> | Thu Oct 22 17:43:34 2009 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Oct 27 12:29:00 2009 -0500 |
tree | e0a83df9dd9c4d7c11bca7176e00e09e787aba03 | |
parent | 76682299a865e916c9f106b167da8e88caa86fa3 [diff] |
net: make tap_receive() re-use tap_receive_iov() code In future we will want to prepend a virtio_net header if the NIC didn't supply one but IFF_VNET_HDR is enabled on the interface. This is most easily achived by using writev() in all cases. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>