From: Ethan Jackson Date: Wed, 21 Aug 2013 19:56:53 +0000 (-0700) Subject: ofproto-dpif-upcall: Increase upcall stub size. X-Git-Tag: sliver-openvswitch-2.0.90-1~20^2~24 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e9f8f6801cf7d1ef844383e51becfe1bbd9491f1;p=sliver-openvswitch.git 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 Reported-by: Guolin Yang Acked-by: Ben Pfaff --- 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 *);