From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gao feng Subject: Re: [PATCH RESEND 01/10] netfilter: move nf_conntrack initialize out of pernet operations Date: Mon, 21 Jan 2013 09:27:02 +0800 Message-ID: <50FC9966.2020401@cn.fujitsu.com> References: <1358504190-6094-1-git-send-email-gaofeng@cn.fujitsu.com> <20130121010839.GA26149@1984> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, kaber@trash.net, ebiederm@xmission.com, canqunzhang@gmail.com To: Pablo Neira Ayuso Return-path: In-Reply-To: <20130121010839.GA26149@1984> Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org Hi pablo, On 2013/01/21 09:08, Pablo Neira Ayuso wrote: > Hi Gao, > > On Fri, Jan 18, 2013 at 06:16:21PM +0800, Gao feng wrote: >> Right now,the netfilter initialize and cleanup codes are >> in pernet operations function. >> This job should be done in module_init/exit.We can't use >> init_net to identify if it's the right time to initialize >> or cleanup. > > nf-next$ patch -p1 < /tmp/RESEND-01-10-netfilter-move-nf_conntrack-initialize-out-of-pernet-operations.patch > patching file include/net/netfilter/nf_conntrack_core.h > patching file net/netfilter/nf_conntrack_core.c > Hunk #1 succeeded at 1334 (offset 3 lines). > Hunk #2 succeeded at 1350 (offset 3 lines). > Hunk #3 FAILED at 1368. > Hunk #4 succeeded at 1383 (offset 4 lines). > Hunk #5 succeeded at 1473 (offset 4 lines). > Hunk #6 succeeded at 1521 (offset 4 lines). > Hunk #7 succeeded at 1538 (offset 4 lines). > Hunk #8 FAILED at 1588. > Hunk #9 succeeded at 1627 (offset 12 lines). > 2 out of 9 hunks FAILED -- saving rejects to file > net/netfilter/nf_conntrack_core.c.rej > patching file net/netfilter/nf_conntrack_standalone.c > > What tree have you used to rebase your patches? Please, use nf-next as > base. I used the last net-next tree. Get it,I will rebase this patchset base on nf-next. Thanks.