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

git: kernel - Unconditionally clear BRIDGE_MBUF_TAGGED in two cases


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Feb 2011 08:56:53 -0800 (PST)

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



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