Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2010 14:15:58 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206840 - head/sys/netinet
Message-ID:  <201004191415.o3JEFwbM023795@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Mon Apr 19 14:15:58 2010
New Revision: 206840
URL: http://svn.freebsd.org/changeset/base/206840

Log:
  Get delayed SACK working again.
  
  MFC after: 3 days.

Modified:
  head/sys/netinet/sctp_indata.c

Modified: head/sys/netinet/sctp_indata.c
==============================================================================
--- head/sys/netinet/sctp_indata.c	Mon Apr 19 14:07:33 2010	(r206839)
+++ head/sys/netinet/sctp_indata.c	Mon Apr 19 14:15:58 2010	(r206840)
@@ -2123,6 +2123,10 @@ failed_pdapi_express_del:
 		}
 	}
 finish_express_del:
+	if (tsn == (asoc->cumulative_tsn + 1)) {
+		/* Update cum-ack */
+		asoc->cumulative_tsn = tsn;
+	}
 	if (last_chunk) {
 		*m = NULL;
 	}



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