netpoll: make __netpoll_cleanup non-block
authorAmerigo Wang <amwang@redhat.com>
Fri, 10 Aug 2012 01:24:38 +0000 (01:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Aug 2012 21:33:30 +0000 (14:33 -0700)
commit38e6bc185d9544dfad1774b3f8902a0b061aea25
tree5dc41a28f9dc48095c998dfc0dcf8b970db6e1b5
parent47be03a28cc6c80e3aa2b3e8ed6d960ff0c5c0af
netpoll: make __netpoll_cleanup non-block

Like the previous patch, slave_disable_netpoll() and __netpoll_cleanup()
may be called with read_lock() held too, so we should make them
non-block, by moving the cleanup and kfree() to call_rcu_bh() callbacks.

Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/linux/netpoll.h
net/8021q/vlan_dev.c
net/bridge/br_device.c
net/core/netpoll.c