net: make tap_receive() re-use tap_receive_iov() code
authorMark McLoughlin <markmc@redhat.com>
Thu, 22 Oct 2009 16:43:34 +0000 (17:43 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:29:00 +0000 (12:29 -0500)
commit22b61a13603d807d2939ce48dea90cede66d66a8
treee0a83df9dd9c4d7c11bca7176e00e09e787aba03
parent6ac83df3f24941799c95d0855b91095b834f838e
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>
net.c