]> git.dujemihanovic.xyz Git - u-boot.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)
commit9bc80c0bc028a1658502eea02af2c1f26456c6b2
tree1ec31a76dd16db5984331663aed37ce6f0a292ba
parent7db25d99b21ae7b2a04153a93afe7692c86992ac
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