summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlstewart <lstewart@FreeBSD.org>2011-01-10 06:12:01 +0000
committerlstewart <lstewart@FreeBSD.org>2011-01-10 06:12:01 +0000
commit910c45c7da5ea278c29eafc9cd84be7b8af5469a (patch)
treee588cebc69c1b76daaef57ae1a372b6b92bb9086
parentd4b952047c684f8b63ebe17a072a6df808b274e2 (diff)
downloadFreeBSD-src-910c45c7da5ea278c29eafc9cd84be7b8af5469a.zip
FreeBSD-src-910c45c7da5ea278c29eafc9cd84be7b8af5469a.tar.gz
Reset the last_sack_ack SACK hint for TCP input processing to ensure that the
hint is 0 when no SACK data is received to update the hint with. This was accidentally omitted from r216753. Sponsored by: FreeBSD Foundation MFC after: 10 weeks X-MFC with: 216753
-rw-r--r--sys/netinet/tcp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 04183be..25cb76b 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1291,6 +1291,7 @@ tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
short ostate = 0;
#endif
thflags = th->th_flags;
+ tp->sackhint.last_sack_ack = 0;
/*
* If this is either a state-changing packet or current state isn't
OpenPOWER on IntegriCloud