netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Sridhar Samudrala <sri@us.ibm.com>
Cc: acme@conectiva.com.br, netdev@oss.sgi.com,
	lksctp-developers@lists.sourceforge.net
Subject: Re: net/sctp/sm_make_chunk.c alignment problems on parisc64
Date: Fri, 19 Sep 2003 23:39:09 -0700	[thread overview]
Message-ID: <20030919233909.7ec3aab0.davem@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0309191440320.4758-100000@localhost.localdomain>

On Fri, 19 Sep 2003 15:15:53 -0700 (PDT)
Sridhar Samudrala <sri@us.ibm.com> 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.

  reply	other threads:[~2003-09-20  6:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-12 16:46 net/sctp/sm_make_chunk.c alignment problems on parisc64 Arnaldo Carvalho de Melo
2003-09-17 23:06 ` Sridhar Samudrala
2003-09-19  2:55   ` David S. Miller
2003-09-19 22:15     ` Sridhar Samudrala
2003-09-20  6:39       ` David S. Miller [this message]
2003-09-20 15:54         ` Arnaldo Carvalho de Melo
2003-09-22 22:06           ` Sridhar Samudrala
2003-09-25 20:52             ` Arnaldo Carvalho de Melo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030919233909.7ec3aab0.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=acme@conectiva.com.br \
    --cc=lksctp-developers@lists.sourceforge.net \
    --cc=netdev@oss.sgi.com \
    --cc=sri@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).