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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Feb 28 09:51:12 PST 2011


commit 0e66e711119cf137abe99cf30014c6b2d5c93199
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Feb 28 09:47:56 2011 -0800

    kernel - Major bridging functionality added (bug fixes)
    
    * The root bridge was not taking into account the peer's weightings when
      calculating path costs.
    
      In order to do this the root bridge must use available peer info.  The
      peer info should already include both the local and remote's path costs
      since 'we' are the root, so our path cost will already be directly
      incorporated in the path cost the peer reports to us.
    
    * Fixes issue where not-weighted path costs on root bridge were not
      synchronized with the weighted path costs of one or more of its peers.

Summary of changes:
 sys/net/bridge/bridgestp.c |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list