]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: always add flag an address that failed DAD with DADFAILED
authorLubomir Rintel <lkundrak@v3.sk>
Fri, 8 Jan 2016 12:47:23 +0000 (13:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:54:27 +0000 (22:54 -0500)
commitae3eb8857a4c64accf7dd3a9bd232ef9562603c3
tree51e486c1872310340fc109c6c9423b554e3bd2a5
parent70a5b566d74f677f0ec38bd1a8a34a9d740b0517
ipv6: always add flag an address that failed DAD with DADFAILED

The userspace needs to know why is the address being removed so that it can
perhaps obtain a new address.

Without the DADFAILED flag it's impossible to distinguish removal of a
temporary and tentative address due to DAD failure from other reasons (device
removed, manual address removal).

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c