Skip to content
Commit 6c9f18f2 authored by Andreas Oetken's avatar Andreas Oetken Committed by Jakub Kicinski
Browse files

net: hsr: align sup_multicast_addr in struct hsr_priv to u16 boundary



sup_multicast_addr is passed to ether_addr_equal for address comparison
which casts the address inputs to u16 leading to an unaligned access.
Aligning the sup_multicast_addr to u16 boundary fixes the issue.

Signed-off-by: default avatarAndreas Oetken <andreas.oetken@siemens.com>
Link: https://lore.kernel.org/r/20210202090304.2740471-1-ennoerlangen@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 5a4cb546
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment