git: kernel - Unconditionally clear BRIDGE_MBUF_TAGGED in two ca

看板DFBSD_commit作者時間15年前 (2011/02/23 02:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit b7441d0c45ee75c5f8a75e0ffd817e882f586151 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Tue Feb 22 08:54:48 2011 -0800 kernel - Unconditionally clear BRIDGE_MBUF_TAGGED in two cases * First unconditionally clear BRIDGE_MBUF_TAGGED if the target MAC in the link header points to us, regardless of what we do with the packet. * Second, unconditionally clear BRIDGE_MBUF_TAGGED if IPFW2 redirects the packet destination, bad things will happen if the original source MAC is kept in the link header. i.e. the packet becomes routed at that point. Summary of changes: sys/net/bridge/if_bridge.c | 23 +++++++++++++++++++++-- sys/net/ipfw/ip_fw2.c | 6 ++++++ 2 files changed, 27 insertions(+), 2 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b7441d0c45ee75c5f8a75e0ffd817e882f586151 -- DragonFly BSD source repository
文章代碼(AID): #1DO_eghA (DFBSD_commit)