HomeFreeBSD

Try to fix a bug introduced in r228623. We started to copy the ifa_msghdr

Description

Try to fix a bug introduced in r228623. We started to copy the ifa_msghdr
as otherwise platforms with strict alignment would break. It's unclear
to me if there's also a problem with access to the address list following
the structure. However we never copied the address list after the structure
and thus are pointing at random memory. For now just use a pointer to the
original memory for accessing the address list making it at least work on
platforms with weak memory access.

PR: 195445
Reported by: wolfgang lyxys.ka.sub.org
Tested by: wolfgang lyxys.ka.sub.org (x86)
MFC after: 3 days

Details

Provenance
bzAuthored on
Parents
rS295201: ARM: Remove C++ comments erroneously committed in r295200.
Branches
Unknown
Tags
Unknown