net: tunnels - enable module autoloading
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>
This commit is contained in:

committed by
David S. Miller

parent
2a7ede5407
commit
f98f89a010
@@ -1828,4 +1828,5 @@ xfrm_tunnel_failed:
|
||||
module_init(sit_init);
|
||||
module_exit(sit_cleanup);
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_ALIAS_RTNL_LINK("sit");
|
||||
MODULE_ALIAS_NETDEV("sit0");
|
||||
|
Reference in New Issue
Block a user