Messages in this thread Patch in this message | | | Date | Wed, 16 Apr 2003 21:11:31 -0400 (EDT) | From | Rik van Riel <> | 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/
| |