kernel - Major bridging functionality added (bug fixes 4)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 26 Mar 2011 19:39:23 +0000 (12:39 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 26 Mar 2011 19:39:23 +0000 (12:39 -0700)
commit3110e56aa543b8bfc79ec62073efdc2d84a27d97
tree33c7f0c330ca430da17ece5013ca5e45f127c80b
parentbfed47b22f468ad7b063992a33494737bad42b73
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.
sys/net/bridge/bridgestp.c