From: dingtianhong Date: Tue, 23 Jul 2013 07:25:27 +0000 (+0800) Subject: bonding: don't call slave_xxx_netpoll under spinlocks X-Git-Tag: v3.12-rc1~132^2~471 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cdef9b7183159c23c7302aaf270d64c549f557;p=pandora-kernel.git 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 Cc: Jay Vosburgh Cc: Andy Gospodarek Signed-off-by: David S. Miller --- Reading git-diff-tree failed