ip_tunnel: use ndo_siocdevprivate
The various ipv4 and ipv6 tunnel drivers each implement a set of 12 SIOCDEVPRIVATE commands for managing tunnels. These all work correctly in compat mode. Move them over to the new .ndo_siocdevprivate operation. Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Cc: David Ahern <dsahern@kernel.org> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/ip_tunnels.h 2 additions, 1 deletioninclude/net/ip_tunnels.h
- net/ipv4/ip_gre.c 1 addition, 1 deletionnet/ipv4/ip_gre.c
- net/ipv4/ip_tunnel.c 5 additions, 4 deletionsnet/ipv4/ip_tunnel.c
- net/ipv4/ip_vti.c 1 addition, 1 deletionnet/ipv4/ip_vti.c
- net/ipv4/ipip.c 1 addition, 1 deletionnet/ipv4/ipip.c
- net/ipv6/ip6_gre.c 9 additions, 8 deletionsnet/ipv6/ip6_gre.c
- net/ipv6/ip6_tunnel.c 11 additions, 10 deletionsnet/ipv6/ip6_tunnel.c
- net/ipv6/ip6_vti.c 11 additions, 10 deletionsnet/ipv6/ip6_vti.c
- net/ipv6/sit.c 18 additions, 17 deletionsnet/ipv6/sit.c
Loading
Please register or sign in to comment