netfilter: make /proc/net/netfilter pernet
This patch makes this proc dentry pernet. So far only init_net had a /proc/net/netfilter directory. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:

committed by
Pablo Neira Ayuso

parent
152b0f5da7
commit
f3c1a44a22
11
include/net/netns/netfilter.h
Normal file
11
include/net/netns/netfilter.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef __NETNS_NETFILTER_H
|
||||
#define __NETNS_NETFILTER_H
|
||||
|
||||
#include <linux/proc_fs.h>
|
||||
|
||||
struct netns_nf {
|
||||
#if defined CONFIG_PROC_FS
|
||||
struct proc_dir_entry *proc_netfilter;
|
||||
#endif
|
||||
};
|
||||
#endif
|
Reference in New Issue
Block a user