Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361101
b: refs/heads/master
c: 80028ea
h: refs/heads/master
i:
  361099: 660f909
v: v3
  • Loading branch information
Veaceslav Falico authored and David S. Miller committed Mar 7, 2013
1 parent 32a5a6c commit 89ac4bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 9cb6cb7ed11cd3b69c47bb414983603a6ff20b1d
refs/heads/master: 80028ea1c0afc24d4ddeb8dd2a9992fff03616ca
5 changes: 3 additions & 2 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,6 @@ static int __bond_release_one(struct net_device *bond_dev,
}

block_netpoll_tx();
call_netdevice_notifiers(NETDEV_RELEASE, bond_dev);
write_lock_bh(&bond->lock);

slave = bond_get_slave_by_dev(bond, slave_dev);
Expand Down Expand Up @@ -2066,8 +2065,10 @@ static int __bond_release_one(struct net_device *bond_dev,
write_unlock_bh(&bond->lock);
unblock_netpoll_tx();

if (bond->slave_cnt == 0)
if (bond->slave_cnt == 0) {
call_netdevice_notifiers(NETDEV_CHANGEADDR, bond->dev);
call_netdevice_notifiers(NETDEV_RELEASE, bond->dev);
}

bond_compute_features(bond);
if (!(bond_dev->features & NETIF_F_VLAN_CHALLENGED) &&
Expand Down

0 comments on commit 89ac4bf

Please sign in to comment.