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


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/


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