netfilter: conntrack: move generation seqcnt out of netns_ct
authorFlorian Westphal <fw@strlen.de>
Mon, 18 Apr 2016 14:16:59 +0000 (16:16 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 25 Apr 2016 12:52:11 +0000 (14:52 +0200)
commita3efd81205b128a802025abb689925177a4607ed
treed6d50add5d335713ea565385243136919ef539a8
parent15cfd40771e18a4e9b788c64c9db2606f958b93d
netfilter: conntrack: move generation seqcnt out of netns_ct

We only allow rehash in init namespace, so we only use
init_ns.generation.  And even if we would allow it, it makes no sense
as the conntrack locks are global; any ongoing rehash prevents insert/
delete.

So make this private to nf_conntrack_core instead.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netns/conntrack.h
net/netfilter/nf_conntrack_core.c