DragonFly commits List (threaded) for 2011-03
git: kernel - Major bridging functionality added (bug fixes 3)
Author: Matthew Dillon <firstname.lastname@example.org>
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(-)
DragonFly BSD source repository