[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51246EEA.5020301@cn.fujitsu.com>
Date: Wed, 20 Feb 2013 14:36:26 +0800
From: Gao feng <gaofeng@...fujitsu.com>
To: Pablo Neira Ayuso <pablo@...filter.org>
CC: netfilter-devel@...r.kernel.org,
containers@...ts.linux-foundation.org, ebiederm@...ssion.com,
netdev@...r.kernel.org, lve@...p.ru
Subject: Re: [PATCH 01/10] netfilter: make /proc/net/netfilter pernet
Hi Pablo,
On 2013/02/08 02:33, Pablo Neira Ayuso wrote:
> Hi Gao,
>
> Thanks again for improving netns support for netfilter. Comments
> below:
>
> On Thu, Feb 07, 2013 at 03:49:41PM +0800, Gao feng wrote:
>> Now,only init net has directroy /proc/net/netfilter,
>> this patch make this proc dentry pernet.
>>
>> Signed-off-by: Gao feng <gaofeng@...fujitsu.com>
>> ---
>> include/net/netns/x_tables.h | 3 +++
>> net/netfilter/core.c | 40 ++++++++++++++++++++++++++++++++++------
>> 2 files changed, 37 insertions(+), 6 deletions(-)
>>
>> diff --git a/include/net/netns/x_tables.h b/include/net/netns/x_tables.h
>> index c24060e..aa6a545 100644
>> --- a/include/net/netns/x_tables.h
>> +++ b/include/net/netns/x_tables.h
>> @@ -9,6 +9,9 @@ struct ebt_table;
>> struct netns_xt {
>> struct list_head tables[NFPROTO_NUMPROTO];
>> bool notrack_deprecated_warning;
>> +#if defined CONFIG_PROC_FS
>> + struct proc_dir_entry *proc_netfilter;
>> +#endif
>
> This doesn't belong here to x_tables, it should be place in
> include/net/net_namespace.h.
>
Get it,will fix it in next version.
Should I wait for the nf-next being open again?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists