kernel - Major bridging functionality added (bug fixes)
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 28 Feb 2011 17:47:56 +0000 (09:47 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 28 Feb 2011 17:47:56 +0000 (09:47 -0800)
commit0e66e711119cf137abe99cf30014c6b2d5c93199
tree1e6805d46033dc5af4f7a1b7276ed13b35d57d71
parentf4bc515ad06c82db401657eebd46f65b5831c59e
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.
sys/net/bridge/bridgestp.c