From: Alexey Dobriyan Date: Wed, 8 Oct 2008 09:35:02 +0000 (+0200) Subject: netfilter: netns nf_conntrack: add ->ct_net -- pointer from conntrack to netns X-Git-Tag: v2.6.28-rc1~717^2~109^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1fb391d881905e89623d78858d05b248cbc86a;p=pandora-kernel.git netfilter: netns nf_conntrack: add ->ct_net -- pointer from conntrack to netns Conntrack (struct nf_conn) gets pointer to netns: ->ct_net -- netns in which it was created. It comes from netdevice. ->ct_net is write-once field. Every conntrack in system has ->ct_net initialized, no exceptions. ->ct_net doesn't pin netns: conntracks are recycled after timeouts and pinning background traffic will prevent netns from even starting shutdown sequence. Right now every conntrack is created in init_net. Signed-off-by: Alexey Dobriyan Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed