[PATCH] - ip_conntrack_netlink update.

Pablo Neira Ayuso pablo at netfilter.org
Thu Dec 1 21:05:04 CET 2005


Pablo Neira Ayuso wrote:
> Hi Christian,
> 
> chentschel at arnet.com.ar wrote:
> 
>>--- ./ip_conntrack_netlink.c	2005-12-01 11:26:02.275924750 -0300
>>+++ /tmp/ip_conntrack_netlink.c	2005-12-01 11:25:49.651135750 -0300
> 
> 
> This won't apply with -p1. See that the header must look like:
> 
> -- a/net/ipv4/netfilter/ip_conntrack_netlink.c      2005-11-
> 22 20:18:21.000000000 +0100
> +++ b/net/netfilter/nf_conntrack_netlink.c   2005-11-22 20:11
> :02.000000000 +0100
> 
> 
>>@@ -371,9 +371,12 @@
>> 		goto nfattr_failure;
>> 
>> 	if (ctnetlink_dump_counters(skb, ct, IP_CT_DIR_ORIGINAL) < 0 ||
>>-	    ctnetlink_dump_counters(skb, ct, IP_CT_DIR_REPLY) < 0)
>>-		goto nfattr_failure;
>>-
>>+	    ctnetlink_dump_counters(skb, ct, IP_CT_DIR_REPLY) < 0 ||
> 
> 
> where's the if checking? it's missing. Please compile your changes
> before sending them ;)

oops, I'm stupid. Sorry, forget about this part, it is OK. I need some
sleep. Please just fix the header and resend. Thanks.

-- 
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris



More information about the netfilter-devel mailing list