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:12:38 +0000 (15:12 -0400)
commit57b1ec6058e6633724817c9d001330a9fea9d39c
tree49d7ee5ef6d27c3c882763211e1f4e90d4dd40c3
parent83880480db7b0a59c6304f9b86ae2b7024741045
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