Skip to content

Commit

Permalink
[IPV6]: TUNNEL6: Don't try to add multicast route twice.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YOSHIFUJI Hideaki authored and David S. Miller committed Mar 21, 2006
1 parent c4a1745 commit 74a3a0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2143,7 +2143,6 @@ static void addrconf_ip6_tnl_config(struct net_device *dev)
return;
}
ip6_tnl_add_linklocal(idev);
addrconf_add_mroute(dev);
}

static int addrconf_notify(struct notifier_block *this, unsigned long event,
Expand Down

0 comments on commit 74a3a0e

Please sign in to comment.