net: tunnels - enable module autoloading
authorTom Gundersen <teg@jklm.no>
Thu, 15 May 2014 21:21:30 +0000 (23:21 +0200)
committerJiri Slaby <jslaby@suse.cz>
Mon, 23 Jun 2014 08:27:59 +0000 (10:27 +0200)
commitfe2fe574d1e2c377bbfe641a34935db9d76be539
tree736b04f1c4a3f720d5d2fe679fbeed0b2bb3c2ed
parent3ed50132d6a8244a14f9896e897464c099809462
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: Jiri Slaby <jslaby@suse.cz>
net/ipv4/ipip.c
net/ipv6/ip6_tunnel.c
net/ipv6/sit.c