From c4cdef9b7183159c23c7302aaf270d64c549f557 Mon Sep 17 00:00:00 2001 From: dingtianhong Date: Tue, 23 Jul 2013 15:25:27 +0800 Subject: [PATCH] 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-format-patch failed