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 1000738] New: Redboot networking problem


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000738

           Summary: Redboot networking problem
           Product: eCos
           Version: CVS
          Platform: snds (Samsung SNDS)
        OS/Version: HostOS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: normal
         Component: RedBoot
        AssignedTo: gary@mlbassoc.com
        ReportedBy: iliev@ronetix.at
         QAContact: ecos-bugs@ecos.sourceware.org
             Class: ---


There is a problem when performing two http loads one after other - the second
load put the RedBoot in an endless loop.

If there is a small delay between the both loads, then sometimes it works.
If the the first load is a http and the second load a tftp, then the problem
doesn't exist.

The endless loop is in tcp.c, __tcp_handler():
   for (prev = NULL, s = tcp_list; s; prev = s, s = s->next) {
       if (s->our_port == ntohs(tcp->dest_port)) {
       if (s->his_port == 0)

It loops forever because *s == s->next* and *s->our_port* and
*ntohs(tcp->dest_port)* differs with one.


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


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