git: kernel - Major bridging functionality added (bug fixes 2)

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Mar 5 14:32:05 PST 2011


commit 9b42fdc95445ec2e9e96793c59748227f691e6d2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Mar 5 14:27:13 2011 -0800

    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.

Summary of changes:
 sys/net/bridge/bridgestp.c    |    1 +
 sys/net/bridge/if_bridge.c    |   22 ++++++++++++++++++++++
 sys/net/bridge/if_bridgevar.h |    1 +
 3 files changed, 24 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9b42fdc95445ec2e9e96793c59748227f691e6d2


-- 
DragonFly BSD source repository





More information about the Commits mailing list