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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Mar 2011 09:39:28 -0700 (PDT)

commit 5c76f1ffcfa4f010040b208acf0b95d0d567c39b
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Mar 23 09:36:33 2011 -0700

    kernel - Major bridging functionality added (bug fixes 3)
    
    * When forwarding packets we do not retransmit the packet out the same
      interface it came in on, but this check was not taking into account
      bonding sets and could bounce a packet out a different interface on the
      same bonding set the packet came in on.
    
      This could result in loops for things like ARP broadcasts and cause
      intermediate ethernet switches to get confused as to which port a
      particular MAC is on.
    
    * Change src_if == dst_if checks to compare MAC addresses instead, which
      solves the problem.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5c76f1ffcfa4f010040b208acf0b95d0d567c39b


-- 
DragonFly BSD source repository



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