]> Git Repo - linux.git/commit
netfilter: netns nf_conntrack: final netns tweaks
authorAlexey Dobriyan <[email protected]>
Wed, 8 Oct 2008 09:35:09 +0000 (11:35 +0200)
committerPatrick McHardy <[email protected]>
Wed, 8 Oct 2008 09:35:09 +0000 (11:35 +0200)
commit08f6547d266fdba087f7fa7963fc0610be5b7cd7
tree60e4dbfc5328d581503eb074c2ff0794be40ecd2
parentd716a4dfbbdf0d4731d596a96e5f4b0d892ac168
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 <[email protected]>
Signed-off-by: Patrick McHardy <[email protected]>
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_expect.c
This page took 0.045424 seconds and 4 git commands to generate.