[Openswan dev] ARM unaligned bug

Paul Wouters paul at xelerance.com
Tue Jan 19 15:40:36 EST 2010

On Tue, 19 Jan 2010, D. Hugh Redelmeier wrote:

> packet.c routines were carefully written to not depend on alignment.
> Then this one was added.  As you point out, it is broken.
> | My fix was to tell the compiler that struct isakmp_generic might point
> | to a non aligned address:
> That will do the job but that isn't the best way to do it.
> Here's a version that attempts to do this right.  I have not even
> compiled the code let alone tested it so it is surely wrong.

Albert, can you test Hugh's code for us on those ARM's? I'd like to commit
his fixes, but we need someone to actually test the changes.


More information about the Dev mailing list