]> git.kernelconcepts.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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Apr 2013 02:20:16 +0000 (03:20 +0100)
commitc5b444a3da735cc82ea736ddcf816cfedee7f941
treeb00d42c440dda4b2cd1b73636c11211d402e3913
parent51119124df76790b671aeb729e42b10c18cec7a4
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 <vfalico@redhat.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/bonding/bond_main.c