commit | ecb2421b5ddf48e6e116fced7f74c985bb546138 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Nov 15 21:36:40 2016 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sun Dec 04 21:16:50 2016 +0100 |
tree | 0fdfc2639bead099d3e54c2d5731eb05e856f766 | |
parent | a379854d91b2cb0af07b0f62845449f4dacbd673 [diff] |
netfilter: add and use nf_ct_netns_get/put currently aliased to try_module_get/_put. Will be changed in next patch when we add functions to make use of ->net argument to store usercount per l3proto tracker. This is needed to avoid registering the conntrack hooks in all netns and later only enable connection tracking in those that need conntrack. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>