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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Mar 23 09:40:38 PDT 2011


commit 5c76f1ffcfa4f010040b208acf0b95d0d567c39b
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list