Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75554
b: refs/heads/master
c: e0138a6
h: refs/heads/master
v: v3
  • Loading branch information
Jay Vosburgh authored and Jeff Garzik committed Jan 18, 2008
1 parent 25187e7 commit 1b22df1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: e934dd7862e7f613b2ce9730d548a0a70913c8f7
refs/heads/master: e0138a66e18c6755ee29ce13b3f1142af775dc5f
5 changes: 2 additions & 3 deletions trunk/drivers/net/bonding/bond_alb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1601,9 +1601,6 @@ void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave
struct slave *swap_slave;
int i;

if (new_slave)
ASSERT_RTNL();

if (bond->curr_active_slave == new_slave) {
return;
}
Expand Down Expand Up @@ -1649,6 +1646,8 @@ void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave
write_unlock_bh(&bond->curr_slave_lock);
read_unlock(&bond->lock);

ASSERT_RTNL();

/* curr_active_slave must be set before calling alb_swap_mac_addr */
if (swap_slave) {
/* swap mac address */
Expand Down

0 comments on commit 1b22df1

Please sign in to comment.