File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2446,9 +2446,9 @@ void bond_3ad_adapter_speed_duplex_changed(struct slave *slave)
2446
2446
2447
2447
spin_lock_bh (& slave -> bond -> mode_lock );
2448
2448
ad_update_actor_keys (port , false);
2449
+ spin_unlock_bh (& slave -> bond -> mode_lock );
2449
2450
netdev_dbg (slave -> bond -> dev , "Port %d slave %s changed speed/duplex\n" ,
2450
2451
port -> actor_port_number , slave -> dev -> name );
2451
- spin_unlock_bh (& slave -> bond -> mode_lock );
2452
2452
}
2453
2453
2454
2454
/**
@@ -2492,12 +2492,12 @@ void bond_3ad_handle_link_change(struct slave *slave, char link)
2492
2492
agg = __get_first_agg (port );
2493
2493
ad_agg_selection_logic (agg , & dummy );
2494
2494
2495
+ spin_unlock_bh (& slave -> bond -> mode_lock );
2496
+
2495
2497
netdev_dbg (slave -> bond -> dev , "Port %d changed link status to %s\n" ,
2496
2498
port -> actor_port_number ,
2497
2499
link == BOND_LINK_UP ? "UP" : "DOWN" );
2498
2500
2499
- spin_unlock_bh (& slave -> bond -> mode_lock );
2500
-
2501
2501
/* RTNL is held and mode_lock is released so it's safe
2502
2502
* to update slave_array here.
2503
2503
*/
You can’t perform that action at this time.
0 commit comments