[ovs-dev] [PATCH] lib: Add zero padding field to flow_wildcards.

Ben Pfaff blp at nicira.com
Fri Dec 3 23:55:41 UTC 2010


On Fri, Dec 03, 2010 at 03:53:58PM -0800, Ethan Jackson wrote:
> Before this commit, the compiler would add two bytes of padding to
> the 'flow_wildcards' structure to achieve 32bit alignment.  These
> two bytes had inconsistent values which caused 'flow_wildcards_hash'
> to behave inconsistently.  This commit explicitly 32bit aligns
> 'flow_wildcards' with zero padding.
> 
> This commit also fixes an issue where in-band rules were not
> getting deleted when in-band control was disabled.

Good catch.  Thank you!




More information about the dev mailing list