inet6: emit RTM_NEWADDR messages on address flag changes.
authorRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 16:54:35 +0000 (17:54 +0100)
committerRoy Marples <roy@marples.name>
Fri, 16 Aug 2019 16:54:35 +0000 (17:54 +0100)
commit5785f5fb36825712d454aa00e3fc225e237465d1
treecb3535756bba1c2dd3909b7e0658b178124b21a7
parent8aeffa9f3b32ec4061b6573b6fca75507812a5f1
inet6: emit RTM_NEWADDR messages on address flag changes.

We no longer emit RTM_NEWADDR right away when adding a new address
and starting DAD. Instead the result of the DAD will be emitted.

Some minor fixes from NetBSD are also brought in, such as
starting DAD when addresses are no longer detached and the
tentative state not being added when address lifetime is
extended.

Taken-from: NetBSD
Reviewed-by: sephe
sys/net/route.c
sys/netinet6/in6.c
sys/netinet6/in6_var.h
sys/netinet6/nd6.c
sys/netinet6/nd6_nbr.c
sys/netinet6/nd6_rtr.c