netfilter: conntrack: check netns when comparing conntrack objects
authorFlorian Westphal <fw@strlen.de>
Thu, 28 Apr 2016 17:13:45 +0000 (19:13 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 5 May 2016 14:39:46 +0000 (16:39 +0200)
commite0c7d47221883966d930fa7335b3ca295bc316b2
treea656f04d8c15ca2efeb88b94742bfb329112a595
parent245cfdcaba2e7e4ee16b12af547ead37f9c501cd
netfilter: conntrack: check netns when comparing conntrack objects

Once we place all conntracks in the same hash table we must also compare
the netns pointer to skip conntracks that belong to a different namespace.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_netlink.c