diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-11-29 04:47:49 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-12-01 15:53:23 -0500 |
commit | 8afe7c8acd33bc52c56546e73e46e9d546269e2c (patch) | |
tree | 2b12d064d2d0234c5a0b5c271868b66d7be88387 /net/ipv4 | |
parent | 4da6a738ffdb99b88efbe5b4c4fe521ca453640d (diff) |
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 <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ipip.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
913 | module_init(ipip_init); | 913 | module_init(ipip_init); |
914 | module_exit(ipip_fini); | 914 | module_exit(ipip_fini); |
915 | MODULE_LICENSE("GPL"); | 915 | MODULE_LICENSE("GPL"); |
916 | MODULE_ALIAS("tunl0"); | ||