aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/conntrack.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-05-09 16:24:31 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-09 16:45:49 +0200
commita76ae1c85576b4b833a506925417d746bc839302 (patch)
treedeb8b7212101d6c92d34ac1954b5f621ab6d1b95 /include/net/netns/conntrack.h
parentnetfilter: conntrack: make netns address part of nat bysrc hash (diff)
downloadlinux-dev-a76ae1c85576b4b833a506925417d746bc839302.tar.xz
linux-dev-a76ae1c85576b4b833a506925417d746bc839302.zip
netfilter: conntrack: use a single nat bysource table for all namespaces
We already include netns address in the hash, so we only need to use net_eq in find_appropriate_src and can then put all entries into same table. 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.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/netns/conntrack.h b/include/net/netns/conntrack.h
index 2811ddcc1a3d..1e751bf176fa 100644
--- a/include/net/netns/conntrack.h
+++ b/include/net/netns/conntrack.h
@@ -103,9 +103,5 @@ struct netns_ct {
unsigned int labels_used;
u8 label_words;
#endif
-#ifdef CONFIG_NF_NAT_NEEDED
- struct hlist_head *nat_bysource;
- unsigned int nat_htable_size;
-#endif
};
#endif