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.
This commit is contained in:
Andras Olah 1996-01-04 21:34:21 +00:00
parent 0e41ee3037
commit 74b48c1de1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13229

View File

@ -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.
*/