kernel - Clear BRIDGE_MBUF_TAGGED for NAT translations
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Feb 2011 22:04:42 +0000 (14:04 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Feb 2011 22:04:42 +0000 (14:04 -0800)
commit4b1d278baa7a6604cb5c1758873c898c302ae628
treed64ba9cebaab24e760c72fe76f4610115499f02f
parentbe02a6a09a5d3fe2845dd2ac135fe8f23cfb1934
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.
sys/net/pf/pf.c