netfilter: nf_conntrack: Support expectations in different zones
authorJoe Stringer <joestringer@nicira.com>
Wed, 22 Jul 2015 04:37:31 +0000 (21:37 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 12 Aug 2015 14:33:22 +0000 (16:33 +0200)
commitc2e3fd156ee129b802376e2fd0ac0aba2f909e08
treec54cc8e0fb1a31b90701090384ccb8cfd98df9eb
parent0f0aa7b1634eeed34810f098a8efd80f33486ca4
netfilter: nf_conntrack: Support expectations in different zones

commit 4b31814d20cbe5cd4ccf18089751e77a04afe4f2 upstream.

When zones were originally introduced, the expectation functions were
all extended to perform lookup using the zone. However, insertion was
not modified to check the zone. This means that two expectations which
are intended to apply for different connections that have the same tuple
but exist in different zones cannot both be tracked.

Fixes: 5d0aa2ccd4 (netfilter: nf_conntrack: add support for "conntrack zones")
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/netfilter/nf_conntrack_expect.c