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

看板DFBSD_commit作者時間15年前 (2011/03/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DYZLelt (DFBSD_commit)