[klibc] [PATCH v2] ipconfig: align reads of ext for RISC architectures

Ben Hutchings
Sun, 02 Mar 2025 20:47:43 -0000

On Fri, 2025-02-28 at 00:25 -0500, Jesse Taube wrote:
> Some RISC architectures such as Sparc64 will busfault when reading data
> from exts if they are not type aligned. Use memcpy to read the data from
> exts to ensure type alignment.
>
> A similar issue was fixed in dhcpcd here:
> https://github.com/NetworkConfiguration/dhcpcd/issues/430
>
https://github.com/ColinMcInnes/dhcpcd/commit/07a5fdd7d34b072e52c316877d14c6d2581cb379
>
> Signed-off-by: Jesse Taube <mr.bossman075 at gmail.com>
> ---
> V1 -> V2:
>  - Update commit title to use RISC
>  - Update commit body

The comment still referred to sparc, but I fixed that up.

> Sorry for missing the changes and version bump in the previous commit.
> Also the response to V1 went to spam, sorry for the delay.
[...]

Applied, thank you!

Ben.

--
Ben Hutchings
Teamwork is essential - it allows you to blame someone else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL:
<https://lists.zytor.com/archives/klibc/attachments/20250302/7cea8208/attachment.sig>