Subject: Re: net/sctp/sm_make_chunk.c alignment problems on parisc64

From: "David S. Miller" <[email-masked]>
Date: Fri, 19 Sep 2003 23:39:09 -0700

On Fri, 19 Sep 2003 15:15:53 -0700 (PDT)
Sridhar Samudrala <[email-masked]> wrote:

> But unfortunately i am not able see this problem with a parisc64 cross compiler 
> on i386. So it makes it hard to debug or fix it. Looks like this happens only
> when building natively on a parisc64 machine which i don't have access to.

Did you build with or without SMP enabled?

Anyways, try to work with Arnaldo to figure out the precise statement
causing the problems.

> Also while reviewing the code in sctp_pack_cookie(), i noticed a structure
> copy. Are structure copies portable across all the archictectures? Should we
> replace it with a memcpy?

Yes, structure copies are portable.