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

2014-04-28 Thread Jarno Rajahalme
Pushed to master, Jarno On Apr 25, 2014, at 1:47 PM, Jesse Gross wrote: > On Fri, Apr 11, 2014 at 4:29 PM, Jarno Rajahalme > 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 dat

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

2014-04-25 Thread Jesse Gross
On Fri, Apr 11, 2014 at 4:29 PM, Jarno Rajahalme 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: Jarn

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

2014-04-11 Thread Jarno Rajahalme
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 --- include/linux/openvswitch.h |1 + 1 file change