kernel - Major bridging functionality added (bug fixes 6)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Mar 2011 07:20:40 +0000 (00:20 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Mar 2011 07:20:40 +0000 (00:20 -0700)
commit1885d414af078e22876479e77efe3c9715b4591d
tree15d234d6d77016ebc9f31de79ad7404849b29262
parentdffaed1b353f1021277eaf511b1e2f4a3db290a6
kernel - Major bridging functionality added (bug fixes 6)

* Flapping on one of the member interfaces can cause the entire bridge
  to go down due to all member interfaces entering a transient state.
  For example, if openvpn is flapping the related tap interfaces will
  go up and down without any actual packet traffic making it across.

  With these changes openvpn flapping no longer makes the bridge
  effectively non-operational.

* When a port is disabled or enabled either manually or due to a TAP
  process going away / attaching, only issue a configuration update
  when transitioning out of an active state.

  Thus disabled<->l1blocking flip-flopping does not cause the other
  member interfaces to change state.

* Also change the initial state setup when LINK1 is flagged.
  Go into the L1BLOCKING state instead of the BLOCKING state.
sys/net/bridge/bridgestp.c