mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 00:12:00 +08:00
Update to FreeBSD head 2018-06-01
Git mirror commit fb63610a69b0eb7f69a201ba05c4c1a7a2739cf9. Update #3472.
This commit is contained in:
@@ -664,8 +664,7 @@ tcp_timer_rexmt(void * xtp)
|
||||
tcp_inpinfo_lock_del(inp, tp);
|
||||
goto out;
|
||||
}
|
||||
tp = tcp_drop(tp, tp->t_softerror ?
|
||||
tp->t_softerror : ETIMEDOUT);
|
||||
tp = tcp_drop(tp, ETIMEDOUT);
|
||||
tcp_inpinfo_lock_del(inp, tp);
|
||||
goto out;
|
||||
}
|
||||
@@ -696,7 +695,12 @@ tcp_timer_rexmt(void * xtp)
|
||||
tp->t_flags |= TF_WASCRECOVERY;
|
||||
else
|
||||
tp->t_flags &= ~TF_WASCRECOVERY;
|
||||
tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1));
|
||||
if ((tp->t_flags & TF_RCVD_TSTMP) == 0)
|
||||
tp->t_badrxtwin = ticks + (tp->t_srtt >> (TCP_RTT_SHIFT + 1));
|
||||
/* In the event that we've negotiated timestamps
|
||||
* badrxtwin will be set to the value that we set
|
||||
* the retransmitted packet's to_tsval to by tcp_output
|
||||
*/
|
||||
tp->t_flags |= TF_PREVVALID;
|
||||
} else
|
||||
tp->t_flags &= ~TF_PREVVALID;
|
||||
|
Reference in New Issue
Block a user