Skip to contentSkip to conversation

- ip_conntrack_netlink update.

PATCH Pablo Neira Ayuso 1 participant 2 messages Dec 1, 2005 1 message not in the archive netfilter

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Pablo Neira Ayuso

author maintainer
#1 lore raw

Hi Christian,

tmp/ip_conntrack_netlink.c

Quoted 2 lines · [email protected] wrote:
tmp/ip_conntrack_netlink.c renamed from ip_conntrack_netlink.c +0 -0

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

tmp/ip_conntrack_netlink.c line 374

Quoted 8 lines
tmp/ip_conntrack_netlink.c renamed from ip_conntrack_netlink.c +1 -3
@@ -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 ;)

Please fix it and resend. Thanks!

cheers.
Pablo

Signature · 2 lines
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
author maintainer
#2 lore raw
Quoted 19 lines · Pablo Neira Ayuso

Hi Christian,

tmp/ip_conntrack_netlink.c

Quoted 2 lines · [email protected] wrote:
tmp/ip_conntrack_netlink.c renamed from ip_conntrack_netlink.c +0 -0

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

Quoted 3 lines
tmp/ip_conntrack_netlink.c renamed from ip_conntrack_netlink.c +0 -0
@@ -371,9 +371,12 @@
 		goto nfattr_failure;
 
Quoted 9 lines

tmp/ip_conntrack_netlink.c line 374

Quoted 5 lines
tmp/ip_conntrack_netlink.c renamed from ip_conntrack_netlink.c +1 -3
 	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.

Signature · 2 lines
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