* tcp.c, tcp_in.c, tcp_out.c, tcp.h: Modify way the retransmission

timer is reset to fix bug#19434, with help from Oleg Tyshev.
This commit is contained in:
kieranm
2007-04-12 14:56:07 +00:00
parent 58b3b0603d
commit 79be888b6f
4 changed files with 42 additions and 18 deletions

View File

@@ -253,7 +253,7 @@ struct tcp_pcb {
u8_t polltmr, pollinterval;
/* Retransmission timer. */
u16_t rtime;
s16_t rtime;
u16_t mss; /* maximum segment size */
@@ -262,7 +262,7 @@ struct tcp_pcb {
u32_t rtseq; /* sequence number being timed */
s16_t sa, sv; /* @todo document this */
u16_t rto; /* retransmission time-out */
s16_t rto; /* retransmission time-out */
u8_t nrtx; /* number of retransmissions */
/* fast retransmit/recovery */