linux/net/802
Eric Dumazet faff57a92b net/802/mrp: fix lockdep splat
commit fb745e9a03 ("net/802/mrp: fix possible race condition when
calling mrp_pdu_queue()") introduced a lockdep splat.

[   19.735147] =================================
[   19.735235] [ INFO: inconsistent lock state ]
[   19.735324] 3.9.2-build-0063 #4 Not tainted
[   19.735412] ---------------------------------
[   19.735500] inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage.
[   19.735592] rmmod/1840 [HC0[0]:SC0[0]:HE1:SE1] takes:
[   19.735682]  (&(&app->lock)->rlock#2){+.?...}, at: [<f862bb5b>]
mrp_uninit_applicant+0x69/0xba [mrp]

app->lock is normally taken under softirq context, so disable BH to
avoid the splat.

Reported-by: Denys Fedoryshchenko <denys@visp.net.lb>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: David Ward <david.ward@ll.mit.edu>
Cc: Cong Wang <amwang@redhat.com>
Tested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-05-14 13:02:30 -07:00
..
fc.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
fddi.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
garp.c 802: fix a possible race condition 2013-04-07 17:04:17 -04:00
hippi.c net: cleanup unsigned to unsigned int 2012-04-15 12:44:40 -04:00
Kconfig net/802: Implement Multiple Registration Protocol (MRP) 2013-02-10 20:37:22 -05:00
Makefile net/802: Implement Multiple Registration Protocol (MRP) 2013-02-10 20:37:22 -05:00
mrp.c net/802/mrp: fix lockdep splat 2013-05-14 13:02:30 -07:00
p8022.c net: delete all instances of special processing for token ring 2012-05-15 20:14:35 -04:00
p8023.c
psnap.c snap: remove one synchronize_net() 2011-05-23 16:29:24 -04:00
stp.c 802: Convert compare_ether_addr to ether_addr_equal 2012-05-09 20:49:17 -04:00