DragonFly BSD
DragonFly commits List (threaded) for 2013-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Clean up if_bridge bif_state tests


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 23 Feb 2013 11:50:04 -0800 (PST)

commit ab002640aa8f1bf2daf09f0761f0f85ba595b009
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sat Feb 23 11:47:01 2013 -0800

    kernel - Clean up if_bridge bif_state tests
    
    * bif_state is only valid when IFBIF_STP is set, adjust two bits of
      code that were using bif_state unconditionally.
    
    * This is a semi-operational change because bif_state's default value
      when IFBIF_STP is not set resulted in correct operation anyway.
    
      However, setting STP and then clearing it on a sub-interface could
      cause problems with stale state.

Summary of changes:
 sys/net/bridge/if_bridge.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ab002640aa8f1bf2daf09f0761f0f85ba595b009


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]