lkml.org 
[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] compile fix ipfw

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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.264 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site