secchan: Fix segfault in handling OFPP_TABLE, NXAST_RESUBMIT actions.
authorBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 22:06:49 +0000 (15:06 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 10 Mar 2009 22:06:49 +0000 (15:06 -0700)
secchan/ofproto.c

index 24637d89687a609debe140bf751ed02544b8fe62..9711515ef1503a1554129478c1df031bf6472511 100644 (file)
@@ -1474,7 +1474,6 @@ static void
 xlate_table_action(struct action_xlate_ctx *ctx, uint16_t in_port)
 {
     struct ofproto *p = ctx->ofproto;
-    struct action_xlate_ctx nested_ctx;
     struct rule *rule;
     flow_t flow;
 
@@ -1504,7 +1503,7 @@ xlate_table_action(struct action_xlate_ctx *ctx, uint16_t in_port)
     }
 
     ctx->recurse++;
-    do_xlate_actions(rule->actions, rule->n_actions, &nested_ctx);
+    do_xlate_actions(rule->actions, rule->n_actions, ctx);
     ctx->recurse--;
 }