]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: xtables: add scheduling opportunity in get_counters
authorFlorian Westphal <fw@strlen.de>
Fri, 1 Sep 2017 20:41:03 +0000 (22:41 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 Sep 2017 16:55:27 +0000 (18:55 +0200)
commita5d7a714569199f909cd60ff7074107bf15c7db4
tree01c6ff04f1380de21901684cb8587e807a1d92e1
parent75c2631468e8af554057246b2413e738dd96af3d
netfilter: xtables: add scheduling opportunity in get_counters

There are reports about spurious softlockups during iptables-restore, a
backtrace i saw points at get_counters -- it uses a sequence lock and also
has unbounded restart loop.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c