Files
kernel_arpi/include/uapi/linux
Michael S. Tsirkin 5eea84f478 if_tun: add TUNSETVNETLE/TUNGETVNETLE
ifreq flags field is only 16 bit wide, so setting IFF_VNET_LE there has
no effect:
doesn't fit in two bytes.

The tests passed apparently because they have an even number of bugs,
all cancelling out.

Luckily we didn't release a kernel with this flag, so it's
not too late to fix this.

Add TUNSETVNETLE/TUNGETVNETLE to really achieve the purpose
of IFF_VNET_LE.

This has an added benefit that if we ever want a BE flag,
we won't have to deal with weird configurations like
setting both LE and BE at the same time.

IFF_VNET_LE will be dropped in a follow-up patch.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-12-16 11:19:41 -05:00
..
2014-09-23 23:15:46 -07:00
2014-11-24 17:31:46 -05:00
2014-10-14 13:08:29 +11:00
2014-12-09 13:34:10 -05:00
2014-07-01 10:48:05 -06:00
2014-11-19 14:48:02 -06:00
2014-12-08 12:55:57 +08:00
2014-08-08 15:57:31 -07:00
2014-10-24 00:14:37 +02:00
2014-05-14 10:04:34 +01:00
2014-12-16 11:19:41 -05:00
2014-08-08 15:57:31 -07:00
2014-12-13 12:42:52 -08:00
2014-11-04 13:17:10 -07:00
2014-12-10 17:41:10 -08:00
2014-04-26 12:13:24 -04:00
2014-12-09 12:05:26 +02:00
2014-12-09 12:05:26 +02:00
2014-12-09 12:05:24 +02:00
2014-12-09 12:06:31 +02:00
2014-12-09 12:05:24 +02:00