From: stephen hemminger Date: Mon, 29 Nov 2010 09:47:49 +0000 (+0000) Subject: ipip: add module alias for tunl0 tunnel device X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8afe7c8acd33bc52c56546e73e46e9d546269e2c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ipip: add module alias for tunl0 tunnel device If ipip is built as a module the 'ip tunnel add' command would fail because the ipip module was not being autoloaded. Adding an alias for the tunl0 device name cause dev_load() to autoload it when needed. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index e70ad581398e..988f52fba54a 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c @@ -913,3 +913,4 @@ static void __exit ipip_fini(void) module_init(ipip_init); module_exit(ipip_fini); MODULE_LICENSE("GPL"); +MODULE_ALIAS("tunl0");