PERFORCE change 130899 for review
John Birrell
jb at FreeBSD.org
Fri Dec 14 14:26:06 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=130899
Change 130899 by jb at jb_freebsd1 on 2007/12/14 22:25:04
IF6
Affected files ...
.. //depot/projects/dtrace6/src/sys/netinet/tcp_subr.c#2 integrate
Differences ...
==== //depot/projects/dtrace6/src/sys/netinet/tcp_subr.c#2 (text+ko) ====
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*
* @(#)tcp_subr.c 8.2 (Berkeley) 5/24/95
- * $FreeBSD: src/sys/netinet/tcp_subr.c,v 1.228.2.14 2006/12/30 17:58:46 jhb Exp $
+ * $FreeBSD: src/sys/netinet/tcp_subr.c,v 1.228.2.15 2007/12/14 19:23:31 qingli Exp $
*/
#include "opt_compat.h"
@@ -1470,7 +1470,7 @@
}
/*
- * Increment the offset to the next ISN_BYTES_PER_SECOND / hz boundary
+ * Increment the offset to the next ISN_BYTES_PER_SECOND / 100 boundary
* to keep time flowing at a relatively constant rate. If the random
* increments have already pushed us past the projected offset, do nothing.
*/
@@ -1483,7 +1483,7 @@
INP_INFO_WLOCK(&tcbinfo);
projected_offset = isn_offset_old + ISN_BYTES_PER_SECOND / 100;
- if (projected_offset > isn_offset)
+ if (SEQ_GT(projected_offset, isn_offset))
isn_offset = projected_offset;
isn_offset_old = isn_offset;
More information about the p4-projects
mailing list