diff options
author | Florian Westphal <fw@strlen.de> | 2016-05-09 17:24:31 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-09 17:45:49 +0300 |
commit | a76ae1c85576b4b833a506925417d746bc839302 (patch) | |
tree | deb8b7212101d6c92d34ac1954b5f621ab6d1b95 /include/net/netns/conntrack.h | |
parent | 464c38556e06723b4c77d36fecff140b8527bc59 (diff) | |
download | linux-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/netns/conntrack.h')
-rw-r--r-- | include/net/netns/conntrack.h | 4 |
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 |