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:15:39 +0000 (15:15 -0400)
commit54b3bda49c9888d8e1655bf8c7b73c5d15fda34c
tree38b729645d0f1b406fb2aec3aa6638e7c02d5abe
parent317d1e9c6a1c6f045b1b40e9baf60de6a3927f06
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