net: re-instate some lost vnet_hdr code
Merge commit
211eb5f301 lost the code we had in tap_send_packet() to
handle the case of the tapfd having IF_VNET_HDR enabled, but the
NIC code not having support for virtio_net_hdr. In this case, we just
strip off the header before passing it to the NIC.
Fixes:
http://sourceforge.net/tracker/?func=detail&atid=893831&aid=
2817367&group_id=180599
Network doesn't work anymore switching from kvm-86 to kvm-87
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>