[ovs-dev] [PATCH 25/31] fixup: Don't suppress packet_type.

Ben Pfaff blp at ovn.org
Mon Jun 12 22:28:50 UTC 2017


Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 ofproto/ofproto-dpif-xlate.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index 33af5e0a29e4..c7df2d1bdc38 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -4296,11 +4296,6 @@ execute_controller_action(struct xlate_ctx *ctx, int len,
     };
     flow_get_metadata(&ctx->xin->flow, &am->pin.up.public.flow_metadata);
 
-    /* Send packet_type only from packet-type-aware bridges. */
-    if (!ctx->xbridge->packet_type_aware) {
-        am->pin.up.public.flow_metadata.wc.masks.packet_type = 0;
-    }
-
     /* Async messages are only sent once, so if we send one now, no
      * xlate cache entry is created.  */
     if (ctx->xin->allow_side_effects) {
-- 
2.10.2



More information about the dev mailing list