summaryrefslogtreecommitdiff
path: root/lib/mcast-snooping.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-05-16 13:13:36 -0700
committerBen Pfaff <blp@ovn.org>2016-05-16 13:14:29 -0700
commit04418350ec06b04e5799a25c6e3c99e13ee4af04 (patch)
treeaca9e0db46ede811d055b47034afdde9c9d6a5cf /lib/mcast-snooping.c
parentc253c2e3223882160addf0b1d66b64a6398b032d (diff)
downloadopenvswitch-04418350ec06b04e5799a25c6e3c99e13ee4af04.tar.gz
mcast-snooping: Trigger revalidation when adding a new multicast group.
Otherwise it takes a long time for flows to be updated when a new group entry is added. Reported-by: "O'Reilly, Darragh" <darragh.oreilly@hpe.com> Reported-at: http://openvswitch.org/pipermail/discuss/2016-May/021224.html Signed-off-by: Ben Pfaff <blp@ovn.org> Tested-by: "O'Reilly, Darragh" <darragh.oreilly@hpe.com> Tested-at: http://openvswitch.org/pipermail/discuss/2016-May/021244.html
Diffstat (limited to 'lib/mcast-snooping.c')
-rw-r--r--lib/mcast-snooping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mcast-snooping.c b/lib/mcast-snooping.c
index 7fd0b9a6a..f71321d2e 100644
--- a/lib/mcast-snooping.c
+++ b/lib/mcast-snooping.c
@@ -286,6 +286,7 @@ mcast_group_insert_bundle(struct mcast_snooping *ms OVS_UNUSED,
b = xmalloc(sizeof *b);
ovs_list_init(&b->bundle_node);
b->port = port;
+ ms->need_revalidate = true;
}
b->expires = time_now() + idle_time;