svn commit: r231991 - head/sys/netinet/ipfw

Andrey V. Elsukov ae at FreeBSD.org
Wed Feb 22 04:19:34 UTC 2012


Author: ae
Date: Wed Feb 22 04:19:33 2012
New Revision: 231991
URL: http://svn.freebsd.org/changeset/base/231991

Log:
  Don't use `m' after m_megapullup.
  
  PR:		kern/165373
  MFC after:	3 days

Modified:
  head/sys/netinet/ipfw/ip_fw_nat.c

Modified: head/sys/netinet/ipfw/ip_fw_nat.c
==============================================================================
--- head/sys/netinet/ipfw/ip_fw_nat.c	Wed Feb 22 03:36:15 2012	(r231990)
+++ head/sys/netinet/ipfw/ip_fw_nat.c	Wed Feb 22 04:19:33 2012	(r231991)
@@ -315,7 +315,7 @@ ipfw_nat(struct ip_fw_args *args, struct
 	}
 
 	if (retval == PKT_ALIAS_RESPOND)
-		m->m_flags |= M_SKIP_FIREWALL;
+		mcl->m_flags |= M_SKIP_FIREWALL;
 	mcl->m_pkthdr.len = mcl->m_len = ntohs(ip->ip_len);
 
 	/*


More information about the svn-src-all mailing list