Skip to content

Commit

Permalink
ofproto-dpif-xlate: Restore table ID on error in xlate_table_action().
Browse files Browse the repository at this point in the history
Found by inspection.

Acked-by: Yi-Hung Wei <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • Loading branch information
blp committed Dec 2, 2019
1 parent 9e9b4f5 commit 7b95052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ofproto/ofproto-dpif-xlate.c
Original file line number Diff line number Diff line change
Expand Up @@ -4369,6 +4369,7 @@ xlate_table_action(struct xlate_ctx *ctx, ofp_port_t in_port, uint8_t table_id,
!is_ip_any(&ctx->xin->flow)) {
xlate_report_error(ctx,
"resubmit(ct) with non-tracked or non-IP packet!");
ctx->table_id = old_table_id;
return;
}
tuple_swap(&ctx->xin->flow, ctx->wc);
Expand Down

0 comments on commit 7b95052

Please sign in to comment.