net: tunnels - enable module autoloading
authorTom Gundersen <teg@jklm.no>
Thu, 15 May 2014 21:21:30 +0000 (23:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jun 2014 19:17:33 +0000 (15:17 -0400)
commitc03bb540d74d01cf10f763dd4785499eade98735
treee092f587a2b6fea8eee8576be6e60d7dad1d2888
parent132345b29ad8945d432479a127d46717925ff6e8
net: tunnels - enable module autoloading

[ Upstream commit f98f89a0104454f35a62d681683c844f6dbf4043 ]

Enable the module alias hookup to allow tunnel modules to be autoloaded on demand.

This is in line with how most other netdev kinds work, and will allow userspace
to create tunnels without having CAP_SYS_MODULE.

Signed-off-by: Tom Gundersen <teg@jklm.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c