kernel - Major bridging functionality added (bug fixes 2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 5 Mar 2011 22:27:13 +0000 (14:27 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 5 Mar 2011 22:27:13 +0000 (14:27 -0800)
commit9b42fdc95445ec2e9e96793c59748227f691e6d2
tree84be4ba6297dbb203494540e14600e4d48471d94
parent341ed3fd6a51459342137f24078416513b892d23
kernel - Major bridging functionality added (bug fixes 2)

* Recalculate the port configuration after enabling a member interface,
  fixing an issue where openvpn brings up a TAP interface after
  authenticating the link but whos weights then go unrecognized by the
  bridge.

  The port configuration was already being recalculated after a member
  interface becomes disabled.

* Reinitialize the bridge when the link0, link1, and/or link2 interface
  flag changes state, so the sysop doesn't have to bring the interface
  down and up manually to recognize the new settings.
sys/net/bridge/bridgestp.c
sys/net/bridge/if_bridge.c
sys/net/bridge/if_bridgevar.h