Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2010 15:30:04 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/145004: commit references a PR
Message-ID:  <201003241530.o2OFU4tG095516@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/145004; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/145004: commit references a PR
Date: Wed, 24 Mar 2010 15:20:04 +0000 (UTC)

 Author: luigi
 Date: Wed Mar 24 15:19:47 2010
 New Revision: 205603
 URL: http://svn.freebsd.org/changeset/base/205603
 
 Log:
   MFC 205602:
   Honor ip.fw.one_pass when a packet comes out of a pipe without being delayed.
   I forgot to handle this case when i did the mtag cleanup three months ago.
   
   I am merging immediately because this bugfix is important for
   people using RELENG_8.
   
   PR:           145004
 
 Modified:
   stable/8/sys/netinet/ipfw/ip_dn_io.c
 
 Modified: stable/8/sys/netinet/ipfw/ip_dn_io.c
 ==============================================================================
 --- stable/8/sys/netinet/ipfw/ip_dn_io.c	Wed Mar 24 15:16:59 2010	(r205602)
 +++ stable/8/sys/netinet/ipfw/ip_dn_io.c	Wed Mar 24 15:19:47 2010	(r205603)
 @@ -762,7 +762,11 @@ dummynet_io(struct mbuf **m0, int dir, s
  	 *     
  	 */
  	if (/*dn_cfg.io_fast &&*/ m == *m0 && (dir & PROTO_LAYER2) == 0 ) {
 -		/* fast io */
 +		/* fast io, rename the tag * to carry reinject info. */
 +		struct m_tag *tag = m_tag_first(m);
 +
 +		tag->m_tag_cookie = MTAG_IPFW_RULE;
 +		tag->m_tag_id = 0;
  		io_pkt_fast++;
  		if (m->m_nextpkt != NULL) {
  			printf("dummynet: fast io: pkt chain detected!\n");
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003241530.o2OFU4tG095516>