[Devel] Re: [BRIDGE] Unaligned access on IA64 when comparing ethernet addresses

Stephen Hemminger shemminger at linux-foundation.org
Tue Apr 17 12:55:41 PDT 2007


David Miller wrote:
> From: Pavel Emelianov <xemul at sw.ru>
> Date: Tue, 17 Apr 2007 15:49:30 +0400
>
>   
>> From: Evgeny Kravtsunov <emkravts at openvz.org>
>>
>> compare_ether_addr() implicitly requires that the addresses
>> passed are 2-bytes aligned in memory.
>>
>> This is not true for br_stp_change_bridge_id() and
>> br_stp_recalculate_bridge_id() in which one of the addresses
>> is unsigned char *, and thus may not be 2-bytes aligned.
>>
>> Signed-off-by: Evgeny Kravtsunov <emkravts at openvz.org>
>> Signed-off-by: Kirill Korotaev <dev at openvz.org>
>> Signed-off-by: Pavel Emelianov <xemul at openvz.org>
>>     
>
> Patch applied, thank you.
>   
I had a better way, I'll fix.




More information about the Devel mailing list