Skip to contentSkip to conversation

reset_xmit_timer errors with 2.4.0

DISCUSSION David S. Miller 2 participants 2 messages Jan 6, 2001

lore
Share & tools
lore
#0 lore raw

Date: Fri, 5 Jan 2001 19:22:39 +0100
From: Arkadiusz Miskiewicz <[email protected]>

On/Dnia Fri, Jan 05, 2001 at 06:52:52AM -0800, Patrick Michael Kane wrote

Quoted 5 lines

With 2.4.0 installed, I've started to see the following errors:

reset_xmit_timer sk=cfd889a0 1 when=0x3b4a, caller=c01e0748 reset_xmit_timer sk=cfd889a0 1 when=0x3a80, caller=c01e0748

the same problem here

Does the following patch fix this for people?

ipv4/tcp_input.c renamed from ipv4/tcp_input.c.~1~ +1 -2
@@ -1705,7 +1705,7 @@
 
 		if ((__s32)when < (__s32)tp->rttvar)
 			when = tp->rttvar;
-		tcp_reset_xmit_timer(sk, TCP_TIME_RETRANS, when);
+		tcp_reset_xmit_timer(sk, TCP_TIME_RETRANS, min(when, TCP_RTO_MAX));
 	}
 }
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 12 lines · * David S. Miller ([email protected]) [010105 17:08]:
   Date: 	Fri, 5 Jan 2001 19:22:39 +0100
   From: Arkadiusz Miskiewicz <[email protected]>

   On/Dnia Fri, Jan 05, 2001 at 06:52:52AM -0800, Patrick Michael Kane wrote
   > With 2.4.0 installed, I've started to see the following errors:
   > 
   > reset_xmit_timer sk=cfd889a0 1 when=0x3b4a, caller=c01e0748
   > reset_xmit_timer sk=cfd889a0 1 when=0x3a80, caller=c01e0748
   >

   the same problem here
Quoted 1 line

Does the following patch fix this for people?

[snip]

This seems to fix it here, thanks.

Best,

Signature · 6 lines
Patrick Michael Kane
<[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/