commit | f94161c1bbdf7af11729cf106b4452f2432448e0 | [log] [tgz] |
---|---|---|
author | Gao feng <gaofeng@cn.fujitsu.com> | Mon Jan 21 22:10:24 2013 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Jan 23 12:53:35 2013 +0100 |
tree | c1f76b19cf4daf088421e0f75fd0fff6371c4a9c | |
parent | 8a454ab95e5ccbffd04363e9c028f60739bc3fa4 [diff] |
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>