Re: BUG in tcp_timer.c:tcp_retransmit_timer()
From: David S. Miller <hidden>
Date: 2004-03-30 05:50:57
From: David S. Miller <hidden>
Date: 2004-03-30 05:50:57
On Mon, 29 Mar 2004 22:54:14 +0530 (IST) Nagendra Singh Tomar [off-list ref] wrote:
Thats right. But what about the other cases of retransmission failures for which we are having a negative return (-ENOMEM, -EAGAIN, -EHOSTUNREACH etc). Even for these cases its not a good idea to artificially increment tp->retransmits, lest in some extreme case we might timeout a connection without a single packet going on the wire.
That's just like the packet getting dropped at the next hop, and not the case this branch of code intends to deal with.