git: kernel - Clear BRIDGE_MBUF_TAGGED for NAT translations

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Feb 19 14:06:27 PST 2011


commit 4b1d278baa7a6604cb5c1758873c898c302ae628
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Feb 19 14:04:42 2011 -0800

    kernel - Clear BRIDGE_MBUF_TAGGED for NAT translations
    
    * Clear the new BRIDGE_MBUF_TAGGED flag when a NAT or other translation
      changes the source IP for a packet, otherwise packets traversing a bridged
      interface may wind up with a source MAC that has nothing to do with
      the translated source IP.

Summary of changes:
 sys/net/pf/pf.c |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4b1d278baa7a6604cb5c1758873c898c302ae628


-- 
DragonFly BSD source repository





More information about the Commits mailing list