View | Details | Raw Unified | Return to bug 264257 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/netinet/tcp_output.c (-3 / +3 lines)
Lines 334-343 tcp_output(struct tcpcb *tp) Link Here
334
			len = ((int32_t)ulmin(cwin,
334
			len = ((int32_t)ulmin(cwin,
335
			    SEQ_SUB(p->end, p->rxmit)));
335
			    SEQ_SUB(p->end, p->rxmit)));
336
		}
336
		}
337
		off = SEQ_SUB(p->rxmit, tp->snd_una);
338
		KASSERT(off >= 0,("%s: sack block to the left of una : %d",
339
		    __func__, off));
340
		if (len > 0) {
337
		if (len > 0) {
338
			off = SEQ_SUB(p->rxmit, tp->snd_una);
339
			KASSERT(off >= 0,("%s: sack block to the left of una : %d",
340
			    __func__, off));
341
			sack_rxmit = 1;
341
			sack_rxmit = 1;
342
			sendalot = 1;
342
			sendalot = 1;
343
			TCPSTAT_INC(tcps_sack_rexmits);
343
			TCPSTAT_INC(tcps_sack_rexmits);

Return to bug 264257