openvswitch.h: Note that 64 bit ints are 4-aligned.
authorJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 00:31:25 +0000 (17:31 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 29 Apr 2014 00:31:25 +0000 (17:31 -0700)
commit0141456733976ab0a8204494dd874b74aa686c9c
tree17e25618a422e2d73904b9fbe0146f6eb8aff4a2
parentea96b766c2092609fe850e9d5f6392252a2f5fa2
openvswitch.h: Note that 64 bit ints are 4-aligned.

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@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
include/linux/openvswitch.h