netfilter: nf_ct_generic: add namespace support
This patch adds namespace support for the generic layer 4 protocol tracker. Acked-by: Eric W. Biederman <ebiederm@xmission.com> 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
524a53e5ad
commit
15f585bd76
@ -20,7 +20,13 @@ struct nf_proto_net {
|
||||
unsigned int users;
|
||||
};
|
||||
|
||||
struct nf_generic_net {
|
||||
struct nf_proto_net pn;
|
||||
unsigned int timeout;
|
||||
};
|
||||
|
||||
struct nf_ip_net {
|
||||
struct nf_generic_net generic;
|
||||
#if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
|
||||
struct ctl_table_header *ctl_table_header;
|
||||
struct ctl_table *ctl_table;
|
||||
|
Reference in New Issue
Block a user