[ovs-dev] [#8024 3/7] flow: Rearrange IPv6 addresses to remove potential hole in structure.
Ben Pfaff
blp at nicira.com
Mon Nov 7 19:06:32 UTC 2011
On Mon, Nov 07, 2011 at 10:33:06AM -0800, Justin Pettit wrote:
> On some platforms, the in6_addr structure is made up of 16- or 32-bit
> members. Depending on the members of the "flow" structure, this can
> lead to holes in the middle. Moving the IPv6 addresses to the middle
> fixes that on these platforms.
Should we move the IPv6 addresses just after the 64-bit members,
instead, in case someone gets the bright idea of adding 64-bit members
to in6_addr?
Otherwise this looks good to me, thank you.
More information about the dev
mailing list