PERFORCE change 43028 for review

Sam Leffler sam at FreeBSD.org
Mon Nov 24 20:30:35 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=43028

Change 43028 by sam at sam_ebb on 2003/11/24 20:29:44

	Be conservative: clear the M_FASTFWD_OURS flag from the
	mbuf after using it.  This insures it doesn't get passed
	further and/or come backm 'round to us.

Affected files ...

.. //depot/projects/netperf/sys/netinet/ip_input.c#28 edit

Differences ...

==== //depot/projects/netperf/sys/netinet/ip_input.c#28 (text+ko) ====

@@ -326,6 +326,7 @@
 
 	if (m->m_flags & M_FASTFWD_OURS) {
 		/* ip_fastforward firewall changed dest to local */
+		m->m_flags &= ~M_FASTFWD_OURS;	/* just in case... */
 		goto ours;
 	}
 	if (args.rule) {	/* dummynet already filtered us */


More information about the p4-projects mailing list