From 3848cd88642845d7966989271a2e70033e32ad25 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 10 Mar 2009 15:06:49 -0700 Subject: [PATCH] secchan: Fix segfault in handling OFPP_TABLE, NXAST_RESUBMIT actions. --- secchan/ofproto.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/secchan/ofproto.c b/secchan/ofproto.c index 24637d89..9711515e 100644 --- a/secchan/ofproto.c +++ b/secchan/ofproto.c @@ -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--; } -- 2.30.2