]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit5228ddc98fa49b3cedab4024e269d62410a0d806
tree0d3cceeac55ec09b0fa593666bc03373954b3d9a
parent07240fd0902c872f044f523893364a1a24c9f278
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