git: kernel - Major bridging functionality added (bug fixes 6)
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Mar 30 00:25:46 PDT 2011
commit 1885d414af078e22876479e77efe3c9715b4591d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Mar 30 00:20:40 2011 -0700
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.
Summary of changes:
sys/net/bridge/bridgestp.c | 44 +++++++++++++++++++++++++++++++++++++++-----
1 files changed, 39 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1885d414af078e22876479e77efe3c9715b4591d
--
DragonFly BSD source repository
More information about the Commits
mailing list