netfilter: conntrack: make sysctls per-namespace again
authorFlorian Westphal <fw@strlen.de>
Tue, 27 Aug 2019 11:24:52 +0000 (13:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 27 Aug 2019 15:46:13 +0000 (17:46 +0200)
commit478553fd1b6f819390b64a2e13ac756c4d1a2836
treef8bb7ac2042ad6f8f68e44f26e6cf1fcefc9c73b
parent3a069024d371125227de3ac8fa74223fcf473520
netfilter: conntrack: make sysctls per-namespace again

When I merged the extension sysctl tables with the main one I forgot to
reset them on netns creation.  They currently read/write init_net settings.

Fixes: d912dec12428 ("netfilter: conntrack: merge acct and helper sysctl table with main one")
Fixes: cb2833ed0044 ("netfilter: conntrack: merge ecache and timestamp sysctl tables with main one")
Reported-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_standalone.c