Lines Matching refs:curr_active
360 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary() local
362 if (!curr_active) in rlb_teach_disabled_mac_on_primary()
366 if (!dev_set_promiscuity(curr_active->dev, 1)) in rlb_teach_disabled_mac_on_primary()
374 alb_send_learning_packets(curr_active, addr, true); in rlb_teach_disabled_mac_on_primary()
1720 struct slave *curr_active; in bond_alb_handle_active_change() local
1722 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_handle_active_change()
1723 if (curr_active == new_slave) in bond_alb_handle_active_change()
1726 if (curr_active && bond->alb_info.primary_is_promisc) { in bond_alb_handle_active_change()
1727 dev_set_promiscuity(curr_active->dev, -1); in bond_alb_handle_active_change()
1732 swap_slave = curr_active; in bond_alb_handle_active_change()
1791 struct slave *curr_active; in bond_alb_set_mac_address() local
1808 curr_active = rtnl_dereference(bond->curr_active_slave); in bond_alb_set_mac_address()
1809 if (!curr_active) in bond_alb_set_mac_address()
1815 alb_swap_mac_addr(swap_slave, curr_active); in bond_alb_set_mac_address()
1816 alb_fasten_mac_swap(bond, swap_slave, curr_active); in bond_alb_set_mac_address()
1818 alb_set_slave_mac_addr(curr_active, bond_dev->dev_addr, in bond_alb_set_mac_address()
1821 alb_send_learning_packets(curr_active, in bond_alb_set_mac_address()
1825 rlb_req_update_slave_clients(bond, curr_active); in bond_alb_set_mac_address()