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: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Fri, 08 Jun 2001 14:12:24 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
On 08-Jun-2001 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.
There's the problem; the timeout code has been completely restructured because
of just these sort of problems with the 1.3.1 network code.
Use the CVS - it's up to date and it works.