[Bridge] [BRIDGE] Unaligned access on IA64 when comparing ethernet addresses

David Miller davem at davemloft.net
Tue Apr 17 13:09:29 PDT 2007


From: Stephen Hemminger <shemminger at linux-foundation.org>
Date: Tue, 17 Apr 2007 12:55:41 -0700

> 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.

You better hurry I want today's fixes I applied out to Linus this
afternoon.



More information about the Bridge mailing list