All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira <pablo@netfilter.org>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Cc: Harald Welte <laforge@netfilter.org>
Subject: [PATCH -1/4] kill the slipped through patch
Date: Thu, 10 Nov 2005 02:04:00 +0100	[thread overview]
Message-ID: <43729C80.7090306@netfilter.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

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.

-- 
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

[-- Attachment #2: 02slipped-through.patch --]
[-- Type: text/plain, Size: 860 bytes --]

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

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

Index: netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c
===================================================================
--- netfilter-2.6.14.git.orig/net/ipv4/netfilter/ip_conntrack_netlink.c	2005-11-09 19:13:35.000000000 +0100
+++ netfilter-2.6.14.git/net/ipv4/netfilter/ip_conntrack_netlink.c	2005-11-09 19:15:25.000000000 +0100
@@ -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;

             reply	other threads:[~2005-11-10  1:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10  1:04 Pablo Neira [this message]
2005-11-12 10:29 ` [PATCH -1/4] kill the slipped through patch Harald Welte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43729C80.7090306@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=laforge@netfilter.org \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.