Skip to content

Commit cfb6f99

Browse files
koct9idavem330
authored andcommitted
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>
1 parent 493682b commit cfb6f99

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎drivers/net/bonding/bond_main.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4431,8 +4431,6 @@ static void bond_uninit(struct net_device *bond_dev)
44314431

44324432
list_del(&bond->bond_list);
44334433

4434-
bond_work_cancel_all(bond);
4435-
44364434
bond_debug_unregister(bond);
44374435

44384436
__hw_addr_flush(&bond->mc_list);

0 commit comments

Comments
 (0)