[ovs-dev] [PATCH] flow: Fix struct flow size build assertion failure.
blp at nicira.com
Wed Oct 3 19:23:55 UTC 2012
On Wed, Oct 03, 2012 at 11:35:30AM -0700, Jesse Gross 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
> Suggested-by: Ben Pfaff <blp at nicira.com>
> Signed-off-by: Jesse Gross <jesse at nicira.com>
This fixes the build failure for me (on 32-bit). Thank you.
More information about the dev