Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 06:12:01 +0000 (UTC)
From:      Lawrence Stewart <lstewart@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r217221 - head/sys/netinet
Message-ID:  <201101100612.p0A6C1Fq069245@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101100612.p0A6C1Fq069245>