mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
0e41ee3037
commit
74b48c1de1
1 changed files with 5 additions and 1 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue