netfilter: hashlimit: do not use indirect calls during gc
authorFlorian Westphal <fw@strlen.de>
Tue, 7 Jan 2020 11:25:10 +0000 (12:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Mar 2020 07:11:46 +0000 (08:11 +0100)
commit536942bf70b5d51a0e800d09adb6b57605e7227c
treed0caadf4fa923a2771ae1905cda6d1f06e8365f0
parent257edc6db9432d6d9f19bd313b6b30406b431766
netfilter: hashlimit: do not use indirect calls during gc

[ Upstream commit 28b3a4270c0fc064557e409111f2a678e64b6fa7 ]

no need, just use a simple boolean to indicate we want to reap all
entries.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/xt_hashlimit.c