This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: lib/timeout.c
- To: tb <terrencebarr at yahoo dot com>
- Subject: Re: [ECOS] lib/timeout.c
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Fri, 08 Jun 2001 20:58:26 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <20010608194454.45026.qmail@web12103.mail.yahoo.com>
tb wrote:
>
> Hi,
>
> The TCP/IP stack comes with timeout.c code. In testing our ethernet driver
> and the TCP/IP stack we've noticed that timeouts sometimes get screwed up.
> It seems that when timeout() gets called while a previous timeout is still
> pending the computation of min_delta results in negative values and from
> that point on the timeout queue is broken. As a result the TCP/IP resources
> don't get released and opening new connections fails.
>
> I haven't found any clues in the archives. Any ideas? PS: We are using
> the released net package, not the CVS one.
This code has been radically changed since the released net package. I
recommend you move to CVS to try and see if it is fixed there.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/