diff options
author | Thomas Graf <tgraf@suug.ch> | 2006-08-22 03:00:45 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:11 -0400 |
commit | 40e22e8f3d4d4f1ff68fb03683f007c53ee8b348 (patch) | |
tree | e630e465a8fdd12e674d8a160a695a72cf81ca8d /net/ipv6/addrconf.c | |
parent | e0a1ad73d34fd6dfdb630479400511e9879069c0 (diff) |
[IPv6] route: Simplify ip6_ins_rt()
Provide a simple ip6_ins_rt() for the majority of users and
an alternative for the exception via netlink. Avoids code
obfuscation.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 27f2e3309598..aafba9ea9cb6 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -3548,7 +3548,7 @@ static void __ipv6_ifa_notify(int event, struct inet6_ifaddr *ifp) | |||
3548 | 3548 | ||
3549 | switch (event) { | 3549 | switch (event) { |
3550 | case RTM_NEWADDR: | 3550 | case RTM_NEWADDR: |
3551 | ip6_ins_rt(ifp->rt, NULL, NULL, NULL); | 3551 | ip6_ins_rt(ifp->rt); |
3552 | if (ifp->idev->cnf.forwarding) | 3552 | if (ifp->idev->cnf.forwarding) |
3553 | addrconf_join_anycast(ifp); | 3553 | addrconf_join_anycast(ifp); |
3554 | break; | 3554 | break; |