Changeset View
Changeset View
Standalone View
Standalone View
netinet/tcp_output.c
Context not available. | |||||
if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) | if (SEQ_GT(tp->snd_nxt + xlen, tp->snd_max)) | ||||
tp->snd_max = tp->snd_nxt + xlen; | tp->snd_max = tp->snd_nxt + xlen; | ||||
} | } | ||||
if ((error == 0) && | |||||
(TCPS_HAVEESTABLISHED(tp->t_state) && | |||||
(tp->t_flags & TF_SACK_PERMIT) && | |||||
tp->rcv_numsacks > 0)) { | |||||
/* Clean up any DSACK's sent */ | |||||
tcp_clean_dsack_blocks(tp); | |||||
} | |||||
if (error) { | if (error) { | ||||
/* Record the error. */ | /* Record the error. */ | ||||
TCP_LOG_EVENT(tp, NULL, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, | TCP_LOG_EVENT(tp, NULL, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, | ||||
Context not available. |