diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-12-14 05:02:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-14 22:14:07 +0400 |
commit | cfb6f99dd9629ec7759b78cff51d9bf7eedf105a (patch) | |
tree | 5d40f4433bccd7f00e60a83a549901a723b3f258 /drivers/net/bonding | |
parent | 493682b8b8a9bf130a544d983c63f1b35df688b9 (diff) | |
download | linux-cfb6f99dd9629ec7759b78cff51d9bf7eedf105a.tar.xz |
bonding: do not cancel works in bond_uninit()
Bonding initializes these works in bond_open() and cancels in bond_close(),
thus in bond_uninit() they are already canceled but may be unitialized yet.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Nikolay Aleksandrov <nikolay@redhat.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index ef2cb2418535..b7d45f367d4a 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c @@ -4431,8 +4431,6 @@ static void bond_uninit(struct net_device *bond_dev) list_del(&bond->bond_list); - bond_work_cancel_all(bond); - bond_debug_unregister(bond); __hw_addr_flush(&bond->mc_list); |