Subject: CVS commit: syssrc/sys/netinet
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 09/10/2001 18:23:12
Module Name:	syssrc
Committed By:	thorpej
Date:		Mon Sep 10 15:23:12 UTC 2001

Modified Files:
	syssrc/sys/netinet: tcp_input.c tcp_output.c tcp_timer.c tcp_var.h

Log Message:
Change the way receive idle time and round trip time are measured.
Instead of incrementing t_idle and t_rtt in tcp_slowtimo(), we now
take a timstamp (via tcp_now) and use subtraction to compute the
delta when we actually need it (using unsigned arithmetic so that
tcp_now wrapping is handled correctly).

Based on similar changes in FreeBSD.


To generate a diff of this commit:
cvs rdiff -r1.127 -r1.128 syssrc/sys/netinet/tcp_input.c
cvs rdiff -r1.72 -r1.73 syssrc/sys/netinet/tcp_output.c
cvs rdiff -r1.49 -r1.50 syssrc/sys/netinet/tcp_timer.c
cvs rdiff -r1.83 -r1.84 syssrc/sys/netinet/tcp_var.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.