]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8adf419a528eeb6ac2db5e4aa07d8fde5e4ca48b
tree9dfa0bae04c0bac54428bb3146e1f39c74da2214
parent64069ececc88cfeb68e4715471e7960818f4842e
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