]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bonding: get netdev_rx_handler_unregister out of locks
authorVeaceslav Falico <vfalico@redhat.com>
Tue, 2 Apr 2013 05:15:16 +0000 (05:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:29 +0000 (09:26 -0700)
commit0679dd509c96373a78ab52e93a5bbaef47c67091
treea585de93e1e7c23023a8adec4f46d418bd2eb38f
parent6f44fdd9d030c3e1914890d162747d2113ba743e
bonding: get netdev_rx_handler_unregister out of locks

[ Upstream commit fcd99434fb5c137274d2e15dd2a6a7455f0f29ff ]

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 <vfalico@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/bonding/bond_main.c