Found by valgrind.
Signed-off-by: Ben Pfaff <[email protected]>
---
lib/dpif-netdev.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c
index fb0a863..cade79e 100644
--- a/lib/dpif-netdev.c
+++ b/lib/dpif-netdev.c
@@ -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 {
--
1.7.2.5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev