From: Ethan Jackson Date: Thu, 14 Jul 2011 20:53:34 +0000 (-0700) Subject: ofproto: Don't commit modifiers on OFPP_NONE outputs. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e81d293375afe757770d339c8bd0cd57e661a1a0;p=openvswitch ofproto: Don't commit modifiers on OFPP_NONE outputs. This provides a minor optimization. --- diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 228b32c3..a4a56abb 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -2935,6 +2935,8 @@ xlate_output_action__(struct action_xlate_ctx *ctx, case OFPP_LOCAL: add_output_action(ctx, OFPP_LOCAL); break; + case OFPP_NONE: + break; default: if (port != ctx->flow.in_port) { add_output_action(ctx, port);