Skip to content
Commit 19bb3506 authored by Evgeny Kravtsunov's avatar Evgeny Kravtsunov Committed by David S. Miller
Browse files

[BRIDGE]: Unaligned access when comparing ethernet addresses



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: default avatarEvgeny Kravtsunov <emkravts@openvz.org>
Signed-off-by: default avatarKirill Korotaev <dev@openvz.org>
Signed-off-by: default avatarPavel Emelianov <xemul@openvz.org>
parent 0304ff8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment