tun: TUN_VNET_LE support, fix sparse warnings for virtio headers
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 23 Oct 2014 19:59:31 +0000 (22:59 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:31 +0000 (12:05 +0200)
Pretty straight-forward: convert all fields to/from
virtio endian-ness.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
drivers/net/tun.c

Simple merge