Re: [ovs-dev] [PATCH INFO 1/2] packet: Avoid array of struct with zero length member.

2015-06-02 Thread Andy Zhou
On Wed, Apr 8, 2015 at 8:31 AM, Jesse Gross wrote: > Windows doesn't like that the Geneve header has an array of > options with each have a zero length member (the variable data). > Nothing is accessing the data now, so just replace the member with > a comment - we can use pointer arithmetic when

[ovs-dev] [PATCH INFO 1/2] packet: Avoid array of struct with zero length member.

2015-04-08 Thread Jesse Gross
Windows doesn't like that the Geneve header has an array of options with each have a zero length member (the variable data). Nothing is accessing the data now, so just replace the member with a comment - we can use pointer arithmetic when necessary. Reported-by: Gurucharan Shetty Signed-off-by: J