Thread (8 messages) 8 messages, 3 authors, 2003-09-25

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

flat view

From: Arnaldo Carvalho de Melo <hidden>
Date: 2003-09-25 20:52:38

Em Mon, Sep 22, 2003 at 03:06:41PM -0700, Sridhar Samudrala escreveu:
On Sat, 20 Sep 2003, Arnaldo Carvalho de Melo wrote:
quoted
The problem is right at:

tv_add(&asoc->cookie_life, &cookie->c.expiration);

Please send any patch you come up with, I'll be happy to test it.
The problem seems to be the static inline routine tv_add. When i converted it
into a regular function or a macro, the problem went away. May be parisc64
compiler has some issues with static inlines.

Arnaldo, Could you please try out this patch which converts tv_add() to a macro
TIMEVAL_ADD()
Yes, this makes the problem go away, if you have this tested please push it
DaveM's way, thanks a lot!

- Arnaldo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help