From 74b48c1de1e45683d7bce85e0fdf3e3903e62773 Mon Sep 17 00:00:00 2001 From: Andras Olah Date: Thu, 4 Jan 1996 21:34:21 +0000 Subject: [PATCH] Reverse the modification which caused the annoying m_copydata crash: set the TF_ACKNOW flag when the REXMT timer goes off to force a retransmission. In certain situations pulling snd_nxt back to snd_una is not sufficient. --- sys/netinet/tcp_timer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 23068b74e76..e95f4fabac1 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_timer.c 8.2 (Berkeley) 5/24/95 - * $Id: tcp_timer.c,v 1.11 1995/11/09 20:23:07 phk Exp $ + * $Id: tcp_timer.c,v 1.12 1995/11/14 20:34:43 phk Exp $ */ #ifndef TUBA_INCLUDE @@ -237,6 +237,10 @@ tcp_timers(tp, timer) tp->t_srtt = 0; } tp->snd_nxt = tp->snd_una; + /* + * Force a segment to be sent. + */ + tp->t_flags |= TF_ACKNOW; /* * If timing a segment in this window, stop the timer. */