]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_conntrack: move initialization out of pernet operations
authorGao feng <gaofeng@cn.fujitsu.com>
Mon, 21 Jan 2013 22:10:24 +0000 (22:10 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 23 Jan 2013 11:53:35 +0000 (12:53 +0100)
commitf94161c1bbdf7af11729cf106b4452f2432448e0
treec1f76b19cf4daf088421e0f75fd0fff6371c4a9c
parent8a454ab95e5ccbffd04363e9c028f60739bc3fa4
netfilter: nf_conntrack: move initialization out of pernet operations

nf_conntrack initialization and cleanup codes happens in pernet
operations function. This task 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 since we cannot make assumption on the order netns are
created/destroyed.

Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_core.h
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_standalone.c