View | Details | Raw Unified | Return to bug 127928
Collapse All | Expand All

(-)netinet/tcp_subr.c (-1 / +3 lines)
Lines 1783-1789 Link Here
1783
	tp->t_bw_rtseq = ack_seq;
1783
	tp->t_bw_rtseq = ack_seq;
1784
	if (tp->t_bw_rtttime == 0 || (int)bw < 0)
1784
	if (tp->t_bw_rtttime == 0 || (int)bw < 0)
1785
		return;
1785
		return;
1786
	bw = ((int64_t)tp->snd_bandwidth * 15 + bw) >> 4;
1786
	if (tp->snd_bandwidth != 0) {
1787
		bw = ((int64_t)tp->snd_bandwidth * 15 + bw) >> 4;
1788
	}
1787
1789
1788
	tp->snd_bandwidth = bw;
1790
	tp->snd_bandwidth = bw;

Return to bug 127928