diff options
author | dingtianhong | 2013-07-23 15:25:27 +0800 |
---|---|---|
committer | David S. Miller | 2013-07-24 17:45:23 -0700 |
commit | c4cdef9b7183159c23c7302aaf270d64c549f557 (patch) | |
tree | 8e2f3c51ee4b7bfdf91b85e1b1760189e61eb649 /Kconfig | |
parent | f13bbc2f9aba00c7a37b499d23060616b9a4ef9e (diff) |
bonding: don't call slave_xxx_netpoll under spinlocks
The slave_xxx_netpoll will call synchronize_rcu_bh(),
so the function may schedule and sleep, it should't be
called under spinlocks.
bond_netpoll_setup() and bond_netpoll_cleanup() are always
protected by rtnl lock, it is no need to take the read lock,
as the slave list couldn't be changed outside rtnl lock.
Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions