summaryrefslogtreecommitdiff
path: root/include/net/netns
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-05-05 22:51:49 (GMT)
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-06 09:50:01 (GMT)
commit0a93aaedc46af2c5feecfb1066d98bfb491ec0b8 (patch)
tree66c730e6537deccb35773c294ed0462aa2ebda72 /include/net/netns
parenta9a083c3878f28e9d368f6dfb1a79a6f04ad8123 (diff)
downloadlinux-0a93aaedc46af2c5feecfb1066d98bfb491ec0b8.tar.xz
netfilter: conntrack: use a single expectation table for all namespaces
We already include netns address in the hash and compare the netns pointers during lookup, so even if namespaces have overlapping addresses entries will be spread across the expectation table. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/netns')
-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 251c435..2811ddc 100644
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -94,7 +94,6 @@ struct netns_ct {
int sysctl_checksum;
struct kmem_cache *nf_conntrack_cachep;
- struct hlist_head *expect_hash;
struct ct_pcpu __percpu *pcpu_lists;
struct ip_conntrack_stat __percpu *stat;
struct nf_ct_event_notifier __rcu *nf_conntrack_event_cb;