From 04418350ec06b04e5799a25c6e3c99e13ee4af04 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 16 May 2016 13:13:36 -0700 Subject: [PATCH] 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" Reported-at: http://openvswitch.org/pipermail/discuss/2016-May/021224.html Signed-off-by: Ben Pfaff Tested-by: "O'Reilly, Darragh" Tested-at: http://openvswitch.org/pipermail/discuss/2016-May/021244.html --- AUTHORS | 1 + lib/mcast-snooping.c | 1 + 2 files changed, 2 insertions(+) diff --git a/AUTHORS b/AUTHORS index cc8238884..22f527cc9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -292,6 +292,7 @@ Christian Stigen Larsen cslarsen@gmail.com Christopher Paggen cpaggen@cisco.com Chunhe Li lichunhe@huawei.com Daniel Badea daniel.badea@windriver.com +Darragh O'Reilly darragh.oreilly@hpe.com Dave Walker DaveWalker@ubuntu.com David Evans davidjoshuaevans@gmail.com David Palma palma@onesource.pt 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;