git: netinet6 - Add bridge test to ND6_RTENTRY_IS_NEIGHBOR()

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jul 2 11:58:59 PDT 2021


commit 444b1a86152825209138f37ac456f2d5a50ac5d7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jul 2 11:33:46 2021 -0700

    netinet6 - Add bridge test to ND6_RTENTRY_IS_NEIGHBOR()
    
    * Refactor ND6_RTENTRY_IS_NEIGHBOR() to get rid of
      the confusing double-negative.
    
    * Change the IFP test to also allow the case where
      the route belongs to a bridge that the ifp is
      associated with.
    
    * Fixes bogus "nd6_lookup: failed to lookup..." console messages.

Summary of changes:
 sys/net/bridge/if_bridge.c |  2 +-
 sys/net/if.h               |  3 ++-
 sys/netinet6/nd6.c         | 44 ++++++++++++++++++++++++++++++--------------
 3 files changed, 33 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/444b1a86152825209138f37ac456f2d5a50ac5d7


-- 
DragonFly BSD source repository


More information about the Commits mailing list