git: kernel - Major bridging functionality added (bug fixes 4)

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 26 12:42:51 PDT 2011


commit 3110e56aa543b8bfc79ec62073efdc2d84a27d97
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 26 12:39:23 2011 -0700

    kernel - Major bridging functionality added (bug fixes 4)
    
    * Fix an issue where we were assuming that a root bridge receiving a
      configuration packet from a remote bridge would get a path cost
      that already include the root bridge's path cost for that port.
      In fact the target bridge only includes an aggregate path cost to
      root (typically the lowest path cost of all the target bridge's
      ports), which is a fixed value.
    
    * The root bridge must add the local path cost back in.

Summary of changes:
 sys/net/bridge/bridgestp.c |   65 +++++++++++++++++++++++++++++++++-----------
 1 files changed, 49 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3110e56aa543b8bfc79ec62073efdc2d84a27d97


-- 
DragonFly BSD source repository





More information about the Commits mailing list