Skip to contentSkip to conversation

fix problem with netfilter compat code removal

PATCH Applied Martin Josefsson 2 participants 2 messages Apr 16, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix problem with netfilter compat code removal

Hi,

Here's a fix for 2.4, the netfilter compat code removal forgot to remove one instance of 'reset'. Doesn't compile without this fix.

Please apply to 2.4 (it's ok in 2.5)

net/ipv4/netfilter/ipfwadm_core.c +0 -6
@@ -1176,12 +1176,6 @@
 			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;
 	}
Signature · 1 line
/Martin
#1 lore raw

From: Martin Josefsson <[email protected]>
Date: 16 Apr 2003 16:00:37 +0200

Here's a fix for 2.4, the netfilter compat code removal forgot to remove one instance of 'reset'. Doesn't compile without this fix.

Please apply to 2.4 (it's ok in 2.5)

Applied, thanks Martin.