datapath: Hash and compare only the part of sw_flow_key actually used.
[openvswitch] / lib / dpif.c
index 81e180fbb2af887772b5abe2e659b9d0971cae1c..630bcade6411e92f6b512abd6180f502be64aedc 100644 (file)
@@ -472,6 +472,7 @@ dpif_port_clone(struct dpif_port *dst, const struct dpif_port *src)
     dst->name = xstrdup(src->name);
     dst->type = xstrdup(src->type);
     dst->port_no = src->port_no;
+    dst->stats = src->stats;
 }
 
 /* Frees memory allocated to members of 'dpif_port'.