This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: lib/timeout.c



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]