[ovs-dev] [PATCH v2 1/8] openvswitch.h: Note that 64 bit ints are 4-aligned.

Jesse Gross jesse at nicira.com
Fri Apr 25 20:47:17 UTC 2014


On Fri, Apr 11, 2014 at 4:29 PM, Jarno Rajahalme <jrajahalme at nicira.com> wrote:
> In general, all Netlink 64-bit data may be 4-byte aligned, due to
> netlink header and attributes being 4-aligned.
>
> To avoid unaligned access the data should be copied out of the netlink
> attribute before access.
>
> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>

Acked-by: Jesse Gross <jesse at nicira.com>



More information about the dev mailing list