net: tunnels - enable module autoloading
authorTom Gundersen <teg@jklm.no>
Thu, 15 May 2014 21:21:30 +0000 (23:21 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 Jul 2014 12:33:57 +0000 (13:33 +0100)
commit30080eb2ea49bff4101b0a3587ae26a590b32c54
treee6a668a4f90335d5a48e623e38063d9779f3dc49
parent7343f010459a76c02ab4868a7301ae998f451a37
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: Ben Hutchings <ben@decadent.org.uk>
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c