]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: conntrack: use a single nat bysource table for all namespaces
authorFlorian Westphal <fw@strlen.de>
Mon, 9 May 2016 14:24:31 +0000 (16:24 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 May 2016 14:45:49 +0000 (16:45 +0200)
commita76ae1c85576b4b833a506925417d746bc839302
treedeb8b7212101d6c92d34ac1954b5f621ab6d1b95
parent464c38556e06723b4c77d36fecff140b8527bc59
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>
include/net/netns/conntrack.h
net/netfilter/nf_nat_core.c