bond_run(struct bond *bond, struct tag_set *tags)
{
struct bond_slave *slave;
+ bool is_tcp_hash = bond_is_tcp_hash(bond);
/* Update link status. */
if (bond->detect == BLSM_CARRIER
bond->next_fake_iface_update = time_msec() + 1000;
}
+ if (is_tcp_hash != bond_is_tcp_hash(bond)) {
+ struct bond_slave *slave;
+
+ HMAP_FOR_EACH (slave, hmap_node, &bond->slaves) {
+ tag_set_add(tags, slave->tag);
+ }
+ }
+
/* Invalidate any tags required by */
tag_set_union(tags, &bond->unixctl_tags);
tag_set_init(&bond->unixctl_tags);