Searched refs:curr_active (Results 1 – 2 of 2) sorted by relevance
360 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in rlb_teach_disabled_mac_on_primary() local362 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() local1722 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()[all …]
600 struct slave *curr_active; in bond_ipsec_offload_ok() local606 curr_active = rcu_dereference(bond->curr_active_slave); in bond_ipsec_offload_ok()607 real_dev = curr_active->dev; in bond_ipsec_offload_ok()802 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_promiscuity() local804 if (curr_active) in bond_set_promiscuity()805 err = dev_set_promiscuity(curr_active->dev, inc); in bond_set_promiscuity()825 struct slave *curr_active = rtnl_dereference(bond->curr_active_slave); in bond_set_allmulti() local827 if (curr_active) in bond_set_allmulti()828 err = dev_set_allmulti(curr_active->dev, inc); in bond_set_allmulti()