Index: redboot/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v retrieving revision 1.173 diff -u -r1.173 ChangeLog --- redboot/current/ChangeLog 8 Dec 2003 15:37:44 -0000 1.173 +++ redboot/current/ChangeLog 12 Dec 2003 16:32:28 -0000 @@ -1,3 +1,9 @@ +2003-12-12 Jani Monoses + + * src/net/tcp.c: Cancel retransmission timer when SYN is acked + otherwise an open active connection which doesn't send data + eventually resends the SYN resulting in reset from the peer. + 2003-12-08 Gary Thomas * cdl/redboot.cdl: Better handling of GDB stubs support. This Index: redboot/current/src/net/tcp.c =================================================================== RCS file: /cvs/ecos/ecos/packages/redboot/current/src/net/tcp.c,v retrieving revision 1.9 diff -u -r1.9 tcp.c --- redboot/current/src/net/tcp.c 30 Sep 2003 21:17:44 -0000 1.9 +++ redboot/current/src/net/tcp.c 12 Dec 2003 16:32:34 -0000 @@ -70,7 +70,6 @@ static void do_retrans(void *p); static void do_close(void *p); - #ifdef BSP_LOG static char * flags_to_str(octet f) @@ -475,6 +474,7 @@ s->state = _ESTABLISHED; s->ack = ntohl(tcp->seqnum) + 1; s->seq = ntohl(tcp->acknum); + __timer_cancel(&s->timer); send_ack(s); break;