]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: {ip,ip6,arp}_tables: avoid lockdep false positive
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 16 Aug 2010 10:22:10 +0000 (10:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2010 22:12:14 +0000 (15:12 -0700)
commitaa8602599ecdde91d32eaaf60388c3ddc444eb54
treefdf6e017a99229c90d3075b35d7f62edee924c8e
parent87fcef1c704daba9250c3f07daceb042472e73f4
netfilter: {ip,ip6,arp}_tables: avoid lockdep false positive

After commit f2954ce97 (netfilter: {ip,ip6,arp}_tables: dont block
bottom half more than necessary), lockdep can raise a warning
because we attempt to lock a spinlock with BH enabled, while
the same lock is usually locked by another cpu in a softirq context.

Disable again BH to avoid these lockdep warnings.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Diagnosed-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c