Date: Mon, 24 Aug 2009 11:13:32 +0000 (UTC) From: Randall Stewart <rrs@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet sctp_indata.c Message-ID: <200908241113.n7OBDhbY046565@repoman.freebsd.org>
index | next in thread | raw e-mail
rrs 2009-08-24 11:13:32 UTC
FreeBSD src repository
Modified files:
sys/netinet sctp_indata.c
Log:
SVN rev 196507 on 2009-08-24 11:13:32Z by rrs
This fixes two bugs in the NR-Sack code:
1) When calculating the table offset for sliding the sack
array, the two byte values must be "ored" together in order
for us to do the correct sliding of the arrays.
2) We were NOT properly doing CC and other changes to things only
NR-Sacked. The solution here is to make a separate function that
will actually do both CC/updates and free things if its NR sack'd.
This actually shrinks out common code from three places (much better).
MFC after: 3 days
Revision Changes Path
1.66 +255 -460 src/sys/netinet/sctp_indata.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908241113.n7OBDhbY046565>
