Lines Matching refs:old_active
840 struct slave *old_active)
850 if (old_active) {
852 dev_set_promiscuity(old_active->dev, -1);
855 dev_set_allmulti(old_active->dev, -1);
858 dev_mc_del(old_active->dev, ha->addr);
883 struct slave *old_active)
907 * if new_active && old_active, swap them
908 * if just old_active, do nothing (going to no active slave)
917 if (old_active) {
919 memcpy(saddr.sa_data, old_active->dev->dev_addr,
934 if (!old_active)
938 saddr.sa_family = old_active->dev->type;
940 rv = dev_set_mac_address(old_active->dev, &saddr);
984 struct slave *new_active, *old_active;
1005 old_active = new_active;
1007 bond_for_each_slave_from(bond, new_active, i, old_active) {
1056 struct slave *old_active = bond->curr_active_slave;
1058 if (old_active == new_active)
1088 bond_mc_swap(bond, new_active, old_active);
1092 if (old_active)
1093 bond_set_slave_inactive_flags(old_active);
1101 if (old_active)
1102 bond_set_slave_inactive_flags(old_active);
1111 old_active);
2248 struct slave *old_active = NULL;
2262 old_active = bond->curr_active_slave;
2270 if (new_active && (new_active == old_active)) {
2276 (old_active) &&