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)
commit56f0dcc5aaeb9f56c40d480b87f9b4161f18ebc5
tree676a1e1660a4e738d7fb4a03135f47f8ba5468ff
parente999d6ea2a4f313a5bba514b08f6f01b0c0072a9
tun: TUN_VNET_LE support, fix sparse warnings for virtio headers

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