[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-commits
Subject:    git: inet6: nd6_na_input() now considers ln_state <= ND6_LLINFO_INCOMPLETE
From:       Roy Marples <roy () crater ! dragonflybsd ! org>
Date:       2020-04-28 12:20:04
Message-ID: 20200428122004.49390A181A7 () crater ! dragonflybsd ! org
[Download RAW message or body]


commit 0fe539bb827b80908fef33054e6f993d3b3d1b88
Author: Roy Marples <roy@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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic