netfilter: helper: avoid extra expectation iterations on unregister
authorFlorian Westphal <fw@strlen.de>
Sun, 15 May 2016 17:50:14 +0000 (19:50 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 7 Jun 2016 15:26:51 +0000 (17:26 +0200)
commit436a850dd9cac09bf88e12e20cc79408b1d29788
tree9dfa0bae04c0bac54428bb3146e1f39c74da2214
parent402f9030cb68d235cfa94b898e96f2d6f7da76ae
netfilter: helper: avoid extra expectation iterations on unregister

The expectation table is not duplicated per net namespace anymore, so we can move
the expectation table and conntrack table iteration out of the per-net loop.

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