diff options
author | Andreas Oetken <andreas.oetken@siemens.com> | 2021-02-02 10:03:04 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-02 08:57:18 -0800 |
commit | 6c9f18f294c4a1a6d8b1097e39c325481664ee1c (patch) | |
tree | 79be938ea4d30e6961d9c0f8bacbcaec02ed1cce /include/linux/compiler_attributes.h | |
parent | 5a4cb546753ddf8f8182b441755c53f3111c5804 (diff) |
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: Andreas Oetken <andreas.oetken@siemens.com>
Link: https://lore.kernel.org/r/20210202090304.2740471-1-ennoerlangen@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions