git: inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE

Roy Marples roy at crater.dragonflybsd.org
Tue Apr 28 05:20:04 PDT 2020


commit 0fe539bb827b80908fef33054e6f993d3b3d1b88
Author: Roy Marples <roy at marples.name>
Date:   Tue Apr 28 11:46:59 2020 +0000

    inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE
    
    Otherwise if ln_state != ND6_LLINFO_INCOMPLETE and the is no lladdr
    and this message was solicited then ln_state is set to ND6_LLINFO_REACHABLE
    which then causes confusion elsewhere in the stack.
    If ln_state > ND6_LLINFO_INCOMPLETE then it's assumed we have a lladdr.
    
    Depending on the timing, it's technically possible to receive such
    a message after the llentry is created with ND6_LLINFO_NOSTATE.
    
    Taken from NetBSD.

Summary of changes:
 sys/netinet6/nd6_nbr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0fe539bb827b80908fef33054e6f993d3b3d1b88


-- 
DragonFly BSD source repository


More information about the Commits mailing list