From: Ben Pfaff Date: Tue, 10 Mar 2009 22:06:49 +0000 (-0700) Subject: secchan: Fix segfault in handling OFPP_TABLE, NXAST_RESUBMIT actions. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3848cd88642845d7966989271a2e70033e32ad25;p=openvswitch secchan: Fix segfault in handling OFPP_TABLE, NXAST_RESUBMIT actions. --- 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--; }