ipv6: Remove optimistic DAD flag test in ipv6_add_addr()
authorDavid Miller <davem@davemloft.net>
Tue, 27 Dec 2011 09:53:05 +0000 (09:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Dec 2011 18:38:49 +0000 (13:38 -0500)
commit7ffbcecbeed91e5874e9a1cfc4c0cbb07dac3069
treec9a6ac231343b25e9049689eb679bf1364602092
parentd79aec83b2c348f49065a4d411e7b70bdf041c89
ipv6: Remove optimistic DAD flag test in ipv6_add_addr()

The route we have here is for the address being added to the interface,
ie. for input packet processing.

Therefore using that route to determine whether an output nexthop gateway
is known and resolved doesn't make any sense.

So, simply remove this test, it never triggered anyways.

Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-By: Neil Horman <nhorman@tuxdriver.com>
net/ipv6/addrconf.c