Re: BUG in tcp_timer.c:tcp_retransmit_timer()

From: David S. Miller
Date: Tue Mar 30 2004 - 00:51:50 EST

On Mon, 29 Mar 2004 22:54:14 +0530 (IST)
Nagendra Singh Tomar <nagendra_tomar@xxxxxxxxxxx> 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.
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at