This is the mail archive of the ecos-bugs@sourceware.org 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]
Other format: [Raw text]

[Bug 1001523] New: RedBoot TCP socket stays in TIME_WAIT stateforever


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001523

           Summary: RedBoot TCP socket stays in TIME_WAIT state forever
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: RedBoot
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: stano@meduna.org
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1623)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1623)
Move the do_close timer to wherever TIME_WAIT is entered

The bug reported in
http://sources.redhat.com/ml/ecos-discuss/2006-04/msg00034.html looks to be
still present in the current code.

To reproduce it is sufficient to change net_io_test so that it immediately does
__tcp_close(&tcp_sock) in the ESTABLISHED branch and add a diag_printf for the
socket state. The socket goes to _TIME_WAIT and never gets out of it.

The patch suggested by
http://sources.redhat.com/ml/ecos-discuss/2006-04/msg00035.html seems to fix
the problem. See attach for my patch.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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