Skip to contentSkip to conversation

ROUTE target

PATCH Applied Torsten Luettgert 2 participants 2 messages May 28, 2006 – May 29, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ROUTE target

Hi,

here's another simple patch for the ROUTE target. It fails to compile if CONFIG_NETFILTER_DEBUG is set, because there's no nf_debug member in skb any longer. The patch just removes the skb->nf_debug = 0;

Regards,
Torsten

linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c +0 -3
Index: ROUTE/linux-2.6/net/ipv4/netfilter/ipt_ROUTE.c
===================================================================
@@ -378,9 +378,6 @@
 		skb->nfct = &route_tee_track.ct_general;
 		skb->nfctinfo = IP_CT_NEW;
 		nf_conntrack_get(skb->nfct);
-#ifdef CONFIG_NETFILTER_DEBUG
-		skb->nf_debug = 0;
-#endif
 	}
 
 	if (route_info->oif[0] != '\0') {
#1 lore raw
Quoted 5 lines · Torsten Luettgert

Hi,

here's another simple patch for the ROUTE target. It fails to compile if CONFIG_NETFILTER_DEBUG is set, because there's no nf_debug member in skb any longer. The patch just removes the skb->nf_debug = 0;

Applied, thanks.