Signed-off-by: Jarno Rajahalme <jrajaha...@nicira.com> --- ofproto/ofproto-dpif-xlate.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index a3a0e4d..1133a06 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -3293,6 +3293,9 @@ compose_recirculate_action(struct xlate_ctx *ctx, static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5); VLOG_ERR_RL(&rl, "Failed to add post recirculation flow %s", match_to_string(&match, 0)); + if (!ctx->rule) { + ofproto_dpif_free_recirc_id(ctx->xbridge->ofproto, id); + } return; } /* If ctx has no rule then associate the recirc id, which -- 1.7.10.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev