Skip to contentSkip to conversation

kill the slipped through patch

PATCH Applied Pablo Neira 2 participants 2 messages Nov 10, 2005 – Nov 12, 2005

Subsystems (2)
lore
Share & tools
lore

Pablo Neira

author maintainer
#0 lore raw

PATCH 1/1 kill the slipped through patch

Kill 'slipped through' patch from Harald's git tree:

[PATCH 6/7] add support for zeroing counters at getting (04/11/2005)

This is the same patch, but inverted.

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

Kill 'slipped through' patch from Harald's git tree ;)

[PATCH 6/7] add support for zeroing counters at getting (04/11/2005)

net/ipv4/netfilter/ip_conntrack_netlink.c +0 -6
Index: netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c
===================================================================
@@ -788,12 +788,6 @@ ctnetlink_get_conntrack(struct sock *ctn
 
 	err = ctnetlink_fill_info(skb2, NETLINK_CB(skb).pid, nlh->nlmsg_seq, 
 				  IPCTNL_MSG_CT_NEW, 1, ct);
-
-#ifdef CONFIG_IP_NF_CT_ACCT
-	if (NFNL_MSG_TYPE(nlh->nlmsg_type) == IPCTNL_MSG_CT_GET_CTRZERO) 
-		memset(&ct->counters, 0, sizeof(ct->counters));
-#endif
-	
 	ip_conntrack_put(ct);
 	if (err <= 0)
 		goto free;
Applied
#1 lore raw
Quoted 1 line · Pablo Neira

Kill 'slipped through' patch from Harald's git tree:

applied.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie