Re: [PATCH] net: tunnels - enable module autoloading

From: Stephen Hemminger
Date: Thu May 15 2014 - 17:32:13 EST


On Tue, 13 May 2014 10:48:28 +0200
Tom Gundersen <teg@xxxxxxx> wrote:

> 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@xxxxxxx>
> Tested-by: Susant Sahani <susant@xxxxxxxxxx>
> ---
> net/ipv4/ipip.c | 1 +
> net/ipv6/ip6_tunnel.c | 1 +
> net/ipv6/sit.c | 1 +
> 3 files changed, 3 insertions(+)

But tunnel modules are autoloaded now.
If I create a tunnel with ip tunnel based on the existing MODULE_ALIAS_NETDEV().

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/