On Tue, Apr 26, 2016 at 04:43:38PM +0000, O'Reilly, Darragh wrote:
> We have an application that we need to be able to restart quickly. It
> listens on a multicast address, so a restart causes IGMPv3 leave
> packets to be sent and join packets soon after. OVS250 receives the
> leave packet and removes the entry from the mdb, but ignores the join
> and the entry does not get re-added. It works if there is a 10 second
> delay between stopping and starting the app. OVS241 does not have this
> problem.

Does the following patch make a difference?

diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index f4af116..f1961c8 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -2403,7 +2403,9 @@ xlate_normal(struct xlate_ctx *ctx)
         struct mcast_snooping *ms = ctx->xbridge->ms;
         struct mcast_group *grp = NULL;
 
+        wc->masks.nw_proto = 0xff;
         if (is_igmp(flow)) {
+            wc->masks.tp_src = OVS_BE16_MAX;
             if (mcast_snooping_is_membership(flow->tp_src) ||
                 mcast_snooping_is_query(flow->tp_src)) {
                 if (ctx->xin->may_learn && ctx->xin->packet) {
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to