X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=8b52b80ade0757c01f024d828ff7114ba421d664;hb=d2bb2799e1b7cf2177140cf4ca8a60312c87625a;hp=c7f211ae3f93328823ebc0a038068c1033363c75;hpb=cf22f8cba328c0fb47a7e6811563f773fc232904;p=openvswitch diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c7f211ae..8b52b80a 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2478,8 +2478,6 @@ facet_revalidate(struct ofproto *ofproto, struct facet *facet) facet_flush_stats(ofproto, facet); } - ofpbuf_delete(odp_actions); - /* Update 'facet' now that we've taken care of all the old state. */ facet->tags = ctx.tags; facet->nf_flow.output_iface = ctx.nf_output_iface; @@ -2497,6 +2495,8 @@ facet_revalidate(struct ofproto *ofproto, struct facet *facet) facet->used = new_rule->created; } + ofpbuf_delete(odp_actions); + return true; }