Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_subr.c
Show First 20 Lines • Show All 2,927 Lines • ▼ Show 20 Lines | if (so->so_snd.sb_hiwat < tp->t_maxseg) | ||||
tp->t_maxseg = so->so_snd.sb_hiwat; | tp->t_maxseg = so->so_snd.sb_hiwat; | ||||
SOCKBUF_UNLOCK(&so->so_snd); | SOCKBUF_UNLOCK(&so->so_snd); | ||||
TCPSTAT_INC(tcps_mturesent); | TCPSTAT_INC(tcps_mturesent); | ||||
tp->t_rtttime = 0; | tp->t_rtttime = 0; | ||||
tp->snd_nxt = tp->snd_una; | tp->snd_nxt = tp->snd_una; | ||||
tcp_free_sackholes(tp); | tcp_free_sackholes(tp); | ||||
tp->snd_recover = tp->snd_max; | tp->snd_recover = tp->snd_max; | ||||
if (__predict_false(tp->t_flags & TF_SENTFIN)) | |||||
tp->snd_recover--; | |||||
if (tp->t_flags & TF_SACK_PERMIT) | if (tp->t_flags & TF_SACK_PERMIT) | ||||
EXIT_FASTRECOVERY(tp->t_flags); | EXIT_FASTRECOVERY(tp->t_flags); | ||||
tp->t_fb->tfb_tcp_output(tp); | tp->t_fb->tfb_tcp_output(tp); | ||||
} | } | ||||
#ifdef INET | #ifdef INET | ||||
/* | /* | ||||
* Look-up the routing entry to the peer of this inpcb. If no route | * Look-up the routing entry to the peer of this inpcb. If no route | ||||
▲ Show 20 Lines • Show All 586 Lines • Show Last 20 Lines |