Kieran Mansley <[email protected]> writes:

> On Tue, 2009-08-25 at 10:24 +0100, Kieran Mansley wrote:
> Just had a look at the CVS history.  It says: 
>
> ip_addr.h:1.27
> "Re-instantiated the pack directives. Nested structs do break individual
> field natural alignment on arm-gcc."
>
> So looks like it's there for a good reason, and should stay.  This went
> in on 6th May 2004 so there might be some of the back story in the
> mailing lists around that time.

There was definitely an issue with an unaligned ip_addr in the
etharp_hdr struct. However, that struct now uses an ip_addr2. If there
are other places containing an unaligned ip_addr, they should do the
same.

/jakob



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to