From: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
To: "David S. Miller" <davem@redhat.com>
Cc: Sridhar Samudrala <sri@us.ibm.com>,
netdev@oss.sgi.com, lksctp-developers@lists.sourceforge.net
Subject: Re: net/sctp/sm_make_chunk.c alignment problems on parisc64
Date: Sat, 20 Sep 2003 12:54:05 -0300 [thread overview]
Message-ID: <20030920155404.GA29040@conectiva.com.br> (raw)
In-Reply-To: <20030919233909.7ec3aab0.davem@redhat.com>
Em Fri, Sep 19, 2003 at 11:39:09PM -0700, David S. Miller escreveu:
> 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?
Yes, here I'm building without SMP enabled.
> Anyways, try to work with Arnaldo to figure out the precise statement
> causing the problems.
The problem is right at:
tv_add(&asoc->cookie_life, &cookie->c.expiration);
and more specifically the problem is with cookie->c.expiration, that in
turn points to this line:
cookie = (struct sctp_signed_cookie *) retval->body;
Now retval is of this type:
/* Section 3.3.3.1 State Cookie (7) */
typedef struct sctp_cookie_param {
sctp_paramhdr_t p;
__u32 body[0];
} sctp_cookie_param_t __attribute__((packed));
I removed the packed attribute both from sctp_cookie_param_t and
sctp_paramhdr_t, the problem persists, ideas?
Please send any patch you come up with, I'll be happy to test it.
- Arnaldo
next prev parent reply other threads:[~2003-09-20 15:54 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
2003-09-20 15:54 ` Arnaldo Carvalho de Melo [this message]
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=20030920155404.GA29040@conectiva.com.br \
--to=acme@conectiva.com.br \
--cc=davem@redhat.com \
--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).