From: Veaceslav Falico Date: Tue, 2 Apr 2013 05:15:16 +0000 (+0000) Subject: bonding: get netdev_rx_handler_unregister out of locks X-Git-Tag: v3.2.43~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b444a3da735cc82ea736ddcf816cfedee7f941;p=pandora-kernel.git bonding: get netdev_rx_handler_unregister out of locks commit fcd99434fb5c137274d2e15dd2a6a7455f0f29ff upstream. Now that netdev_rx_handler_unregister contains synchronize_net(), we need to call it outside of bond->lock, cause it might sleep. Also, remove the already unneded synchronize_net(). Signed-off-by: Veaceslav Falico Acked-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed