summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-upcall.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2013-08-21 12:56:53 -0700
committerEthan Jackson <ethan@nicira.com>2013-08-21 13:19:48 -0700
commite9f8f6801cf7d1ef844383e51becfe1bbd9491f1 (patch)
treef00251ac86420788d5849503f9c84c990f1c2a32 /ofproto/ofproto-dpif-upcall.h
parent6e055a6cf022188286f1e5e6f9d7431dab101b50 (diff)
downloadopenvswitch-e9f8f6801cf7d1ef844383e51becfe1bbd9491f1.tar.gz
ofproto-dpif-upcall: Increase upcall stub size.
The existing upcall stub size is not large enough even for the smallest miss upcalls. Signed-off-by: Ethan Jackson <ethan@nicira.com> Reported-by: Guolin Yang <gyang@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ofproto/ofproto-dpif-upcall.h')
-rw-r--r--ofproto/ofproto-dpif-upcall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-upcall.h b/ofproto/ofproto-dpif-upcall.h
index f74206031..f597672b9 100644
--- a/ofproto/ofproto-dpif-upcall.h
+++ b/ofproto/ofproto-dpif-upcall.h
@@ -66,7 +66,7 @@ struct upcall {
/* Raw upcall plus data for keeping track of the memory backing it. */
struct dpif_upcall dpif_upcall; /* As returned by dpif_recv() */
struct ofpbuf upcall_buf; /* Owns some data in 'dpif_upcall'. */
- uint64_t upcall_stub[256 / 8]; /* Buffer to reduce need for malloc(). */
+ uint64_t upcall_stub[512 / 8]; /* Buffer to reduce need for malloc(). */
};
struct upcall *upcall_next(struct udpif *);