]> git.baikalelectronics.ru Git - uboot.git/commit
net: ipv6: fix alignment errors on ARM
authorSergei Antonov <saproj@gmail.com>
Wed, 18 Jan 2023 17:52:18 +0000 (20:52 +0300)
committerTom Rini <trini@konsulko.com>
Thu, 2 Feb 2023 19:44:53 +0000 (14:44 -0500)
commitaa99506580e30fc362265e006136731953c070eb
tree1ec31a76dd16db5984331663aed37ce6f0a292ba
parentf9130b75422faa7ac6217dcd7b3048ebc90db2ec
net: ipv6: fix alignment errors on ARM

Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because
machine code expects 4-byte alignment and some structures from net6.h
are not aligned in memory.

Fix by adding __packed, since it is already used in this file.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
include/net6.h