From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Miller" Subject: Re: [PATCH] fix netfilter refcounting [was Re: Conntrack leak (2.6.2rc2)] Date: Tue, 3 Feb 2004 09:48:08 -0800 Sender: netdev-bounce@oss.sgi.com Message-ID: <20040203094808.2bb3640a.davem@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: steve@navaho.co.uk, netdev@oss.sgi.com, netfilter-devel@lists.netfilter.org Return-path: To: Jozsef Kadlecsik In-Reply-To: Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org On Tue, 3 Feb 2004 18:43:38 +0100 (CET) Jozsef Kadlecsik wrote: > Steve Hill reported a conntrack leakage in 2.6.2-rc2 when nat is enabled > and the system forwards fragmented packets. It turned out that an > nf_conntrack_put was missing from ip_copy_metadata: Yeah, but... look at what you patched. > /* Connection association is same as pre-frag packet */ > + nf_conntrack_put(to->nfct); > to->nfct = from->nfct; > nf_conntrack_get(to->nfct); What about that comment?