Another 64bit unaligned access

Bryan Phillippe bp at darkforest.org
Fri Aug 19 20:26:05 EDT 2011


And there was another bug in the previous patch as well.  My apologies:

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


Thanks,
--
-bp


On Aug 19, 2011, at 4:31 PM, Bryan Phillippe wrote:

> Hello again,
> 
> Thomas Graf pointed out the previous patch was incorrect; it used nla_memcpy() when memcpy() was required.  Here is an updated change.
> 
> <libnl.unaligned.patch.txt>
> 
> 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