git: inet6: emit RTM_NEWADDR messages on address flag changes.

Roy Marples roy at crater.dragonflybsd.org
Fri Aug 16 09:56:50 PDT 2019


commit 5785f5fb36825712d454aa00e3fc225e237465d1
Author: Roy Marples <roy at marples.name>
Date:   Fri Aug 16 17:54:35 2019 +0100

    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

Summary of changes:
 sys/net/route.c        | 13 ++++++++
 sys/netinet6/in6.c     | 89 +++++++++++++++++++++++++++++++++-----------------
 sys/netinet6/in6_var.h |  1 +
 sys/netinet6/nd6.c     | 10 ++++--
 sys/netinet6/nd6_nbr.c |  9 +++--
 sys/netinet6/nd6_rtr.c | 18 +++++++---
 6 files changed, 99 insertions(+), 41 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5785f5fb36825712d454aa00e3fc225e237465d1


-- 
DragonFly BSD source repository



More information about the Commits mailing list