aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/conntrack.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-04-18 16:16:59 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-04-25 14:52:11 +0200
commita3efd81205b128a802025abb689925177a4607ed (patch)
treed6d50add5d335713ea565385243136919ef539a8 /include/net/netns/conntrack.h
parenthv_netvsc: Fix the list processing for network change event (diff)
downloadlinux-dev-a3efd81205b128a802025abb689925177a4607ed.tar.xz
linux-dev-a3efd81205b128a802025abb689925177a4607ed.zip
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>
Diffstat (limited to 'include/net/netns/conntrack.h')
-rw-r--r--include/net/netns/conntrack.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h
index 723b61c82b3f..b052785b1590 100644
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -94,7 +94,6 @@ struct netns_ct {
int sysctl_checksum;
unsigned int htable_size;
- seqcount_t generation;
struct kmem_cache *nf_conntrack_cachep;
struct hlist_nulls_head *hash;
struct hlist_head *expect_hash;