netfilter: conntrack: remove GC_MAX_EVICTS break
authorFlorian Westphal <fw@strlen.de>
Mon, 16 Jan 2017 17:24:56 +0000 (18:24 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 19 Jan 2017 13:27:41 +0000 (14:27 +0100)
commit524b698db06b9b6da7192e749f637904e2f62d7b
treebeb293e4da01e5e604140ec9a7240e5274012457
parent3fd0b634de7d6b9a85f34a4cf9d8afc1df465cc9
netfilter: conntrack: remove GC_MAX_EVICTS break

Instead of breaking loop and instant resched, don't bother checking
this in first place (the loop calls cond_resched for every bucket anyway).

Suggested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c