linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] compile fix ipfw
@ 2003-04-17  1:11 Rik van Riel
  2003-04-17  1:13 ` David S. Miller
  2003-04-17  5:16 ` [netfilter-core] " Rusty Russell
  0 siblings, 2 replies; 4+ messages in thread
From: Rik van Riel @ 2003-04-17  1:11 UTC (permalink / raw)
  To: coreteam; +Cc: linux-kernel, David S. Miller


In the patch that went to marcelo a few days ago the reset
argument to ip_chain_procinfo() got removed, but there's still
a code block inside the function that references that variable.

This patch gets rid of that (presumably old) code block. Note
that I didn't cc this to Marcelo because I'm not 100% sure, so
please check it.

--- linux-2.4.20/net/ipv4/netfilter/ipfwadm_core.c.compile	2003-04-16 21:04:30.000000000 -0400
+++ linux-2.4.20/net/ipv4/netfilter/ipfwadm_core.c	2003-04-16 21:05:24.000000000 -0400
@@ -1176,12 +1176,6 @@ static int ip_chain_procinfo(int stage, 
 			len = last_len;
 			break;
 		}
-		else if(reset)
-		{
-			/* This needs to be done at this specific place! */
-			i->fw_pcnt=0L;
-			i->fw_bcnt=0L;
-		}
 		last_len = len;
 		i=i->fw_next;
 	}


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-18  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17  1:11 [PATCH] compile fix ipfw Rik van Riel
2003-04-17  1:13 ` David S. Miller
2003-04-17  5:16 ` [netfilter-core] " Rusty Russell
2003-04-18  8:39   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).