[ovs-dev] [PATCH] flow: Fix struct flow size build assertion failure.

Jesse Gross jesse at nicira.com
Wed Oct 3 18:37:24 UTC 2012


On Wed, Oct 3, 2012 at 11:35 AM, Jesse Gross <jesse at nicira.com> wrote:
> The new struct flow_tnl contains an extra four bytes of padding on
> 64-bit machines but we currently assert that the total struct flow
> is a fixed size.  The size difference isn't actually a problem
> because both are multiples of 4 and the build assertion is only
> intended to remind people to update FLOW_WC_SEQ when new fields are
> added.  This changes the assertion to fix just the non-tunnel field
> size.
>
> Suggested-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: Jesse Gross <jesse at nicira.com>

I just pushed this directly.



More information about the dev mailing list