netfilter: conntrack: use nf_ct_key_equal() in more places
commit868043485ecb7cda503af0dfb9e2804e0260196a
authorFlorian Westphal <fw@strlen.de>
Thu, 28 Apr 2016 17:13:43 +0000 (28 19:13 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 5 May 2016 14:39:44 +0000 (5 16:39 +0200)
tree52fe897e184d8e25f0f187d30e4d378cc3750f41
parent88b68bc5237c84c6ff6f78568653780869a94a95
netfilter: conntrack: use nf_ct_key_equal() in more places

This prepares for upcoming change that places all conntracks into a
single, global table.  For this to work we will need to also compare
net pointer during lookup.  To avoid open-coding such check use the
nf_ct_key_equal helper and then later extend it to also consider net_eq.

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