diff mbox

[ovs-dev] Set reason before sending continuation packet-in to the controller

Message ID 56E042A7.3060504@redhat.com
State Accepted
Headers show

Commit Message

Numan Siddique March 9, 2016, 3:35 p.m. UTC
Signed-Off-by: Numan Siddique <nusiddiq@redhat.com>
---
 ofproto/ofproto-dpif-xlate.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ben Pfaff March 11, 2016, 1:14 a.m. UTC | #1
On Wed, Mar 09, 2016 at 09:05:03PM +0530, Numan Siddique wrote:
> Signed-Off-by: Numan Siddique <nusiddiq@redhat.com>

Applied, thanks!
diff mbox

Patch

diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index cd6eeab..e4692b3 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -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,