Date: Fri, 14 Dec 2007 22:26:05 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 130899 for review Message-ID: <200712142226.lBEMQ5mh037076@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=130899 Change 130899 by jb@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712142226.lBEMQ5mh037076>