]> git.baikalelectronics.ru Git - kernel.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)
commitad9922dd0cf8e1f5162e6b6fa866f5420060f366
tree01c6ff04f1380de21901684cb8587e807a1d92e1
parent03e8ef7dba2ade3fc044d8da4d2d6a31dae19c50
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