Files
linux/drivers/net
Michał Mirosław 8825537521 net: tun: convert to hw_features
This changes offload setting behaviour to what I think is correct:
 - offloads set via ethtool mean what admin wants to use (by default
   he wants 'em all)
 - offloads set via ioctl() mean what userspace is expecting to get
   (this limits which admin wishes are granted)
 - TUN_NOCHECKSUM is ignored, as it might cause broken packets when
   forwarded (ip_summed == CHECKSUM_UNNECESSARY means that checksum
   was verified, not that it can be ignored)

If TUN_NOCHECKSUM is implemented, it should set skb->csum_* and
skb->ip_summed (= CHECKSUM_PARTIAL) for known protocols and let others
be verified by kernel when necessary.

TUN_NOCHECKSUM handling was introduced by commit
f43798c276:

    tun: Allow GSO using virtio_net_hdr

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-20 01:30:45 -07:00
..
2011-03-05 10:55:57 +01:00
2011-04-17 00:55:20 -07:00
2011-04-17 00:54:51 -07:00
2011-04-17 00:51:40 -07:00
2011-03-31 11:26:23 -03:00
2011-04-17 17:40:25 -07:00
2011-03-31 11:26:23 -03:00
2011-04-17 17:47:35 -07:00
2011-04-07 20:16:58 -07:00
2011-04-10 18:55:17 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-11 01:16:23 -08:00
2011-03-31 11:26:23 -03:00
2011-04-15 15:50:41 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 23:04:00 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-04-18 22:59:04 -07:00
2011-04-18 23:03:59 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-10 18:55:19 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2010-12-01 11:11:31 -08:00
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
2011-04-10 18:55:21 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-12-23 11:44:34 -08:00
2011-04-08 13:03:02 -07:00
2011-03-31 11:26:23 -03:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-04-18 22:59:04 -07:00
2011-01-27 14:18:34 -08:00
2011-04-18 14:19:32 -07:00
2010-09-29 13:23:30 -07:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-18 21:53:03 -07:00
2011-04-15 15:50:41 -07:00
2011-04-15 15:50:41 -07:00
2011-04-17 17:47:36 -07:00
2011-04-17 17:47:36 -07:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2010-12-21 02:16:08 -08:00
2011-04-18 22:59:04 -07:00
2011-03-31 11:26:23 -03:00
2011-04-20 01:30:43 -07:00
2011-01-03 12:43:10 -08:00
2011-04-12 14:50:45 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-10 18:55:20 -07:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2010-11-09 09:17:56 -08:00
2011-03-31 11:26:23 -03:00
2011-04-13 11:50:08 -07:00
2011-04-17 17:40:24 -07:00
2011-03-15 19:38:03 -07:00
2010-09-26 18:34:29 -07:00
2011-03-31 11:26:23 -03:00
2011-03-03 13:02:32 -08:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2011-04-17 17:47:35 -07:00
2011-04-06 14:35:23 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-15 22:06:05 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-09-21 18:04:47 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:53:24 -07:00
2011-04-18 23:03:58 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 14:50:42 -07:00
2010-10-24 16:25:39 -07:00
2010-09-26 18:34:29 -07:00
2011-01-25 22:41:55 -08:00
2011-03-31 11:26:23 -03:00
2011-04-18 22:59:04 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-17 17:47:33 -07:00
2011-03-31 11:26:23 -03:00
2011-04-13 17:10:08 -07:00
2011-03-31 11:26:23 -03:00
2011-04-20 01:30:45 -07:00
2011-04-17 17:47:34 -07:00
2011-03-31 11:26:23 -03:00
2011-04-01 20:56:30 -07:00
2010-12-21 02:16:08 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00