diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-03-20 19:51:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 19:51:48 -0500 |
commit | 74a3a0ed9096ba9feffc7e44f2a2c37d968bc6d1 (patch) | |
tree | 932bfb5e207cb91a1a87f45c26010dd9f7d804fb /net/ipv6 | |
parent | c4a1745aa09fc110afdefea0e5d025043e348bae (diff) |
[IPV6]: TUNNEL6: Don't try to add multicast route twice.
Since addrconf_add_dev() has already called addrconf_add_mroute()
to added route for multicast prefix, there's no point to call it
again in addrconf_ip6_tnl_config().
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 19727d94196..441eeacfc85 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -2143,7 +2143,6 @@ static void addrconf_ip6_tnl_config(struct net_device *dev) | |||
2143 | return; | 2143 | return; |
2144 | } | 2144 | } |
2145 | ip6_tnl_add_linklocal(idev); | 2145 | ip6_tnl_add_linklocal(idev); |
2146 | addrconf_add_mroute(dev); | ||
2147 | } | 2146 | } |
2148 | 2147 | ||
2149 | static int addrconf_notify(struct notifier_block *this, unsigned long event, | 2148 | static int addrconf_notify(struct notifier_block *this, unsigned long event, |