xenserver: Improve efficiency of code by using get_all_records_where()
[sliver-openvswitch.git] / lib / dpif-netdev.c
index fb0a863..cade79e 100644 (file)
@@ -956,7 +956,7 @@ dpif_netdev_recv(struct dpif *dpif, struct dpif_upcall *upcall,
         free(u);
 
         ofpbuf_uninit(buf);
-        *buf = *u->packet;
+        *buf = *upcall->packet;
 
         return 0;
     } else {