Menu

#2 bug in tcp_send

open
nobody
None
5
2003-08-18
2003-08-18
Hakan Senel
No

in tcp_send(), KeepAlive and retransmit timers should be
rescheduled. Otherwise, if data packet is lost,
no transmission occurs. init_timer statements
should be added at the end of tcp_send():

...tcp_send(.....)
{
.......
// adjust KeepAlive timer
init_timer(s->persist_timerh, s->tout);

// adjust Retransmit timer
init_timer(s->retransmit_timerh,
TCP_DEF_RETRY_TOUT);
.....
}

Discussion


Log in to post a comment.