From 903c8870e85391f15e5a8cd8cf30b7e3d0b98980 Mon Sep 17 00:00:00 2001 From: David Miller Date: Tue, 27 Dec 2011 09:53:05 +0000 Subject: [PATCH] --- yaml --- r: 279116 b: refs/heads/master c: 7ffbcecbeed91e5874e9a1cfc4c0cbb07dac3069 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/ipv6/addrconf.c | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/[refs] b/[refs] index eda8be5d81a4..bed4e18a9bb8 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d79aec83b2c348f49065a4d411e7b70bdf041c89 +refs/heads/master: 7ffbcecbeed91e5874e9a1cfc4c0cbb07dac3069 diff --git a/trunk/net/ipv6/addrconf.c b/trunk/net/ipv6/addrconf.c index 59a9d0e1da56..85421cce5e1a 100644 --- a/trunk/net/ipv6/addrconf.c +++ b/trunk/net/ipv6/addrconf.c @@ -650,16 +650,6 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen, ifa->rt = rt; - /* - * part one of RFC 4429, section 3.3 - * We should not configure an address as - * optimistic if we do not yet know the link - * layer address of our nexhop router - */ - - if (dst_get_neighbour_noref_raw(&rt->dst) == NULL) - ifa->flags &= ~IFA_F_OPTIMISTIC; - ifa->idev = idev; in6_dev_hold(idev); /* For caller */