Skip to content

Commit

Permalink
mcast-snooping: Trigger revalidation when adding a new multicast group.
Browse files Browse the repository at this point in the history
Otherwise it takes a long time for flows to be updated when a new group
entry is added.

Reported-by: "O'Reilly, Darragh" <[email protected]>
Reported-at: http://openvswitch.org/pipermail/discuss/2016-May/021224.html
Signed-off-by: Ben Pfaff <[email protected]>
Tested-by: "O'Reilly, Darragh" <[email protected]>
Tested-at: http://openvswitch.org/pipermail/discuss/2016-May/021244.html
  • Loading branch information
blp committed May 16, 2016
1 parent c253c2e commit 0441835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Christian Stigen Larsen [email protected]
Christopher Paggen [email protected]
Chunhe Li [email protected]
Daniel Badea [email protected]
Darragh O'Reilly [email protected]
Dave Walker [email protected]
David Evans [email protected]
David Palma [email protected]
Expand Down
1 change: 1 addition & 0 deletions lib/mcast-snooping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0441835

Please sign in to comment.