svn commit: r217221 - head/sys/netinet
Lawrence Stewart
lstewart at FreeBSD.org
Mon Jan 10 06:12:02 UTC 2011
Author: lstewart
Date: Mon Jan 10 06:12:01 2011
New Revision: 217221
URL: http://svn.freebsd.org/changeset/base/217221
Log:
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
Modified:
head/sys/netinet/tcp_input.c
Modified: head/sys/netinet/tcp_input.c
==============================================================================
--- head/sys/netinet/tcp_input.c Mon Jan 10 05:13:06 2011 (r217220)
+++ head/sys/netinet/tcp_input.c Mon Jan 10 06:12:01 2011 (r217221)
@@ -1291,6 +1291,7 @@ tcp_do_segment(struct mbuf *m, struct tc
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
More information about the svn-src-all
mailing list