Do not include zeroed metadata fields in NXM/OXM packet-in messages.
[openvswitch] / ofproto / ofproto-dpif.c
index ac1a9633ef5595042ecc0b750f77607ee5783eda..10d450ec5e6d65db2d2524519d9f26702f66f912 100644 (file)
@@ -2733,9 +2733,6 @@ send_packet_in_miss(struct ofproto_dpif *ofproto, const struct ofpbuf *packet,
 
     flow_get_metadata(flow, &pin.fmd);
 
-    /* Registers aren't meaningful on a miss. */
-    memset(pin.fmd.reg_masks, 0, sizeof pin.fmd.reg_masks);
-
     connmgr_send_packet_in(ofproto->up.connmgr, &pin);
 }