summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timer.c
diff options
context:
space:
mode:
authorolah <olah@FreeBSD.org>1996-01-04 21:34:21 +0000
committerolah <olah@FreeBSD.org>1996-01-04 21:34:21 +0000
commitd8eaf8a5647ddcbeb20bda3d5de23b432b4eead2 (patch)
tree1e8ec88d005a6ef7f76ad8f8e12ca8446080a404 /sys/netinet/tcp_timer.c
parent39d3a9a3d35d380cd5627d8f1fa68782a1d614c0 (diff)
downloadFreeBSD-src-d8eaf8a5647ddcbeb20bda3d5de23b432b4eead2.zip
FreeBSD-src-d8eaf8a5647ddcbeb20bda3d5de23b432b4eead2.tar.gz
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.
Diffstat (limited to 'sys/netinet/tcp_timer.c')
-rw-r--r--sys/netinet/tcp_timer.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c
index 23068b7..e95f4fa 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
@@ -238,6 +238,10 @@ tcp_timers(tp, timer)
}
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.
*/
tp->t_rtt = 0;
OpenPOWER on IntegriCloud