]> git.baikalelectronics.ru Git - kernel.git/commit
gre: add module alias for gre0 tunnel device
authorstephen hemminger <shemminger@vyatta.com>
Mon, 29 Nov 2010 09:47:48 +0000 (09:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2010 20:53:22 +0000 (12:53 -0800)
commit04ce5fcce51581c685b37e6e6afa9e580cac1a3c
tree88a80180c14352c7cd7cf65abfe78d9f5276a550
parentb127cd36678549603ac5644c25152bf16c37493d
gre: add module alias for gre0 tunnel device

If gre is built as a module the 'ip tunnel add' command would fail because
the ip_gre module was not being autoloaded.  Adding an alias for
the gre0 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>
net/ipv4/ip_gre.c