This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
lib/timeout.c
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] lib/timeout.c
- From: tb <terrencebarr at yahoo dot com>
- Date: Fri, 8 Jun 2001 12:44:54 -0700 (PDT)
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.
Thanks,
-- Terrence
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/