Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_input.c
Show First 20 Lines • Show All 2,687 Lines • ▼ Show 20 Lines | enter_recovery: | ||||
tp->t_rtttime = 0; | tp->t_rtttime = 0; | ||||
if (V_tcp_do_prr) { | if (V_tcp_do_prr) { | ||||
/* | /* | ||||
* snd_ssthresh is already updated by | * snd_ssthresh is already updated by | ||||
* cc_cong_signal. | * cc_cong_signal. | ||||
*/ | */ | ||||
tp->sackhint.prr_delivered = | tp->sackhint.prr_delivered = | ||||
tp->sackhint.sacked_bytes; | tp->sackhint.sacked_bytes; | ||||
tp->sackhint.sack_bytes_rexmit = 0; | |||||
tp->sackhint.recover_fs = max(1, | tp->sackhint.recover_fs = max(1, | ||||
tp->snd_nxt - tp->snd_una); | tp->snd_nxt - tp->snd_una); | ||||
} | } | ||||
if (tp->t_flags & TF_SACK_PERMIT) { | if (tp->t_flags & TF_SACK_PERMIT) { | ||||
TCPSTAT_INC( | TCPSTAT_INC( | ||||
tcps_sack_recovery_episode); | tcps_sack_recovery_episode); | ||||
tp->snd_recover = tp->snd_nxt; | tp->snd_recover = tp->snd_nxt; | ||||
tp->snd_cwnd = maxseg; | tp->snd_cwnd = maxseg; | ||||
▲ Show 20 Lines • Show All 1,370 Lines • Show Last 20 Lines |