From: Alexey Dobriyan Date: Wed, 8 Oct 2008 09:35:09 +0000 (+0200) Subject: netfilter: netns nf_conntrack: final netns tweaks X-Git-Tag: v2.6.28-rc1~717^2~109^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08f6547d266fdba087f7fa7963fc0610be5b7cd7;p=pandora-kernel.git netfilter: netns nf_conntrack: final netns tweaks Add init_net checks to not remove kmem_caches twice and so on. Refactor functions to split code which should be executed only for init_net into one place. ip_ct_attach and ip_ct_destroy assignments remain separate, because they're separate stages in setup and teardown. NOTE: NOTRACK code is in for-every-net part. It will be made per-netns after we decidce how to do it correctly. Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed