]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Apr 2013 16:05:28 +0000 (12:05 -0400)
commit13e0205e9f916cd29f02983128d44abb53c4e4ee
tree3802defbd9908ea60011f7c1f053eb9cf447d963
parent3641691aa9fdafb7953abfcfe52822de75ca46a1
bonding: get netdev_rx_handler_unregister out of locks

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>
drivers/net/bonding/bond_main.c