Another 64bit unaligned access

Bryan Phillippe bp at darkforest.org
Fri Aug 19 19:31:39 EDT 2011


Hello again,

Thomas Graf pointed out the previous patch was incorrect; it used nla_memcpy() when memcpy() was required.  Here is an updated change.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libnl.unaligned.patch.txt
URL: <http://lists.infradead.org/pipermail/libnl/attachments/20110819/5336df3d/attachment.txt>
-------------- next part --------------


Thanks,
--
-bp


On Aug 15, 2011, at 5:14 PM, Bryan Phillippe wrote:

> Hello All,
> 
> I found an additional case of unaligned access:
> 
> <libnl.unaligned.patch.txt>
> 
> Thanks,
> --
> -bp
> 
> 
> On Aug 11, 2011, at 11:43 AM, Bryan Phillippe wrote:
> 
>> Hello,
>> 
>> I'm using libnl-3.0 on an ARM processor and found a problem with unaligned accesses to 64bit variables.  This patch explains what I found - what are your thoughts?
>> 
>> <libnl.unaligned.patch>
>> 
>> Thanks,
>> --
>> -bp
>> 
>> 
> 



More information about the libnl mailing list