ofproto-dpif: Don't output to in_port even if in_port is OFPP_LOCAL.
[openvswitch] / ofproto / ofproto-dpif.c
index d19b6f7f3f0945065e0136736f1e7d06108bc5bb..8903a7f4e6b6b114373e591f7441b2bbd66510fe 100644 (file)
@@ -4545,11 +4545,9 @@ xlate_output_action__(struct action_xlate_ctx *ctx,
     case OFPP_CONTROLLER:
         execute_controller_action(ctx, max_len, OFPR_ACTION);
         break;
-    case OFPP_LOCAL:
-        compose_output_action(ctx, OFPP_LOCAL);
-        break;
     case OFPP_NONE:
         break;
+    case OFPP_LOCAL:
     default:
         if (port != ctx->flow.in_port) {
             compose_output_action(ctx, port);