Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36505
b: refs/heads/master
c: 7029870
h: refs/heads/master
i:
  36503: b55946e
v: v3
  • Loading branch information
jamal authored and Jeff Garzik committed Sep 26, 2006
1 parent ea3b2cb commit ce32c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b680e753724d31a9c45f059d1aad29df54584a1
refs/heads/master: 70298705bb29fb7982b85089adf17cd37b94baa7
6 changes: 3 additions & 3 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3430,7 +3430,6 @@ static int bond_close(struct net_device *bond_dev)

write_lock_bh(&bond->lock);

bond_mc_list_destroy(bond);

/* signal timers not to re-arm */
bond->kill_timers = 1;
Expand Down Expand Up @@ -3461,8 +3460,6 @@ static int bond_close(struct net_device *bond_dev)
break;
}

/* Release the bonded slaves */
bond_release_all(bond_dev);

if ((bond->params.mode == BOND_MODE_TLB) ||
(bond->params.mode == BOND_MODE_ALB)) {
Expand Down Expand Up @@ -4248,6 +4245,9 @@ static void bond_free_all(void)
list_for_each_entry_safe(bond, nxt, &bond_dev_list, bond_list) {
struct net_device *bond_dev = bond->dev;

bond_mc_list_destroy(bond);
/* Release the bonded slaves */
bond_release_all(bond_dev);
unregister_netdevice(bond_dev);
bond_deinit(bond_dev);
}
Expand Down

0 comments on commit ce32c91

Please sign in to comment.