diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-08 11:35:09 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 11:35:09 +0200 |
commit | 08f6547d266fdba087f7fa7963fc0610be5b7cd7 (patch) | |
tree | 60e4dbfc5328d581503eb074c2ff0794be40ecd2 /usr | |
parent | d716a4dfbbdf0d4731d596a96e5f4b0d892ac168 (diff) | |
download | op-kernel-dev-08f6547d266fdba087f7fa7963fc0610be5b7cd7.zip op-kernel-dev-08f6547d266fdba087f7fa7963fc0610be5b7cd7.tar.gz |
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 <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions