projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xenserverd: Give XAPI a grace period before refreshing network UUIDs.
[openvswitch]
/
lib
/
dpif-linux.c
diff --git
a/lib/dpif-linux.c
b/lib/dpif-linux.c
index 87c9f327c79bf95b5357d64e3cd923c78df5bcd0..15283b282cb398642f40ea7d111694db8e607d42 100644
(file)
--- a/
lib/dpif-linux.c
+++ b/
lib/dpif-linux.c
@@
-460,7
+460,8
@@
dpif_linux_recv(struct dpif *dpif_, struct ofpbuf **bufp)
int retval;
int error;
- buf = ofpbuf_new(65536);
+ buf = ofpbuf_new(65536 + DPIF_RECV_MSG_PADDING);
+ ofpbuf_reserve(buf, DPIF_RECV_MSG_PADDING);
retval = read(dpif->fd, ofpbuf_tail(buf), ofpbuf_tailroom(buf));
if (retval < 0) {
error = errno;