The NXAST_RESUBMIT action causes a secondary lookup in the flow table with
a different input port value. However, we want to retain the original
input port for processing the result of that secondary lookup. Otherwise,
output to OFPP_IN_PORT will send the packet to the wrong port, and output
to the input port without specifying OFPP_IN_PORT will be mistakenly
allowed.
nested_ctx.in = rule->actions;
nested_ctx.n_in = rule->n_actions;
- nested_ctx.flow = &flow;
+ nested_ctx.flow = ctx->flow;
nested_ctx.ofproto = NULL; /* Prevent recursion. */
nested_ctx.out = ctx->out;
do_xlate_actions(&nested_ctx);