Set reason before sending continuation packet-in to the controller
authorNuman Siddique <nusiddiq@redhat.com>
Wed, 9 Mar 2016 15:35:03 +0000 (21:05 +0530)
committerBen Pfaff <blp@ovn.org>
Fri, 11 Mar 2016 01:12:13 +0000 (17:12 -0800)
Signed-Off-by: Numan Siddique <nusiddiq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-xlate.c

index cd6eeab..e4692b3 100644 (file)
@@ -3658,6 +3658,7 @@ emit_continuation(struct xlate_ctx *ctx, const struct frozen_state *state)
                     .packet = xmemdup(dp_packet_data(ctx->xin->packet),
                                       dp_packet_size(ctx->xin->packet)),
                     .packet_len = dp_packet_size(ctx->xin->packet),
+                    .reason = ctx->pause->reason,
                 },
                 .bridge = *ofproto_dpif_get_uuid(ctx->xbridge->ofproto),
                 .stack = xmemdup(state->stack,