]> git.baikalelectronics.ru Git - kernel.git/commit
tun: TUNSETFEATURES to set gso features.
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 3 Jul 2008 10:46:16 +0000 (03:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2008 10:46:16 +0000 (03:46 -0700)
commit6ccbb4869e05ef7802a0b96840dab5810de5e53c
tree0d3cceeac55ec09b0fa593666bc03373954b3d9a
parent429fc2cba775a70bf0ca77d84e0db92fcf8411ec
tun: TUNSETFEATURES to set gso features.

ethtool is useful for setting (some) device fields, but it's
root-only.  Finer feature control is available through a tun-specific
ioctl.

(Includes Mark McLoughlin <markmc@redhat.com>'s fix to hold rtnl sem).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Max Krasnyansky <maxk@qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
include/linux/if_tun.h