From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Subject: Re: [PATCH 2.6] Use C99 initializers for conntrack sysctl tables Date: Mon, 23 Feb 2004 00:41:18 +0100 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <40393E1E.5050807@eurodev.net> References: <20040220210758.GV4797@sunbeam.de.gnumonks.org> <20040220151242.78536970.davem@redhat.com> <4036D735.E834F74A@actiontec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: Bo Xiong , netfilter-devel@lists.netfilter.org In-Reply-To: <4036D735.E834F74A@actiontec.com> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Bo Xiong wrote: >init_conntrack() will creat a new conntrack, bu where add the new >conntrack to hash_list? >-Bo > > > Hi Bo, why didn't you create a new thread? the topic of this message is different. anyway, have a look at: http://lxr.linux.no/source/net/ipv4/netfilter/ip_conntrack_core.c#L460 init_conntrack creates a new conntrack and insert it to the hash list as well (see list_prepend). best regards, Pablo