summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-05-09 17:24:31 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-09 17:45:49 +0300
commita76ae1c85576b4b833a506925417d746bc839302 (patch)
treedeb8b7212101d6c92d34ac1954b5f621ab6d1b95 /include/net
parent464c38556e06723b4c77d36fecff140b8527bc59 (diff)
downloadlinux-a76ae1c85576b4b833a506925417d746bc839302.tar.xz
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')
-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