Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39402
b: refs/heads/master
c: 39984a9
h: refs/heads/master
v: v3
  • Loading branch information
Karsten Keil authored and Jeff Garzik committed Oct 5, 2006
1 parent 2fe265d commit d1ebd88
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 0a07bc645e818b88559d99f52ad45e35352e8228
refs/heads/master: 39984a9fad0c642182f426d7771332d46f222103
4 changes: 2 additions & 2 deletions trunk/drivers/net/bonding/bond_alb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ void bond_alb_monitor(struct bonding *bond)
* write lock to protect from other code that also
* sets the promiscuity.
*/
write_lock(&bond->curr_slave_lock);
write_lock_bh(&bond->curr_slave_lock);

if (bond_info->primary_is_promisc &&
(++bond_info->rlb_promisc_timeout_counter >= RLB_PROMISC_TIMEOUT)) {
Expand All @@ -1448,7 +1448,7 @@ void bond_alb_monitor(struct bonding *bond)
bond_info->primary_is_promisc = 0;
}

write_unlock(&bond->curr_slave_lock);
write_unlock_bh(&bond->curr_slave_lock);

if (bond_info->rlb_rebalance) {
bond_info->rlb_rebalance = 0;
Expand Down

0 comments on commit d1ebd88

Please sign in to comment.