Message ID | 50B6B4B6.3070304@tlinx.org |
---|---|
State | Not Applicable, archived |
Delegated to: | David Miller |
Headers | show |
--- bond_main.c.orig 2012-09-30 16:47:46.000000000 -0700 +++ bond_main.c 2012-11-28 12:58:34.064931997 -0800 @@ -1778,7 +1778,9 @@ new_slave->link == BOND_LINK_DOWN ? "DOWN" : (new_slave->link == BOND_LINK_UP ? "UP" : "BACK")); + read_unlock(&bond->lock); bond_update_speed_duplex(new_slave); + read_lock(&bond->lock); if (USES_PRIMARY(bond->params.mode) && bond->params.primary[0]) { /* if there is a primary slave, remember it */