summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index c10a94c..6255042 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -2295,11 +2295,8 @@ dodata: /* XXX */
thflags = tcp_reass(tp, th, &tlen, m);
tp->t_flags |= TF_ACKNOW;
}
- if (tp->sack_enable) {
- tp->rcv_laststart = th->th_seq; /* last recv'd segment*/
- tp->rcv_lastend = th->th_seq + tlen;
- tcp_update_sack_list(tp);
- }
+ if (tp->sack_enable)
+ tcp_update_sack_list(tp, th->th_seq, th->th_seq + tlen);
/*
* Note the amount of data that peer has sent into
* our window, in order to estimate the sender's
OpenPOWER on IntegriCloud