Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 02/09/2002 07:56:35
Module Name:	syssrc
Committed By:	atatat
Date:		Sat Feb  9 05:56:34 UTC 2002

Modified Files:
	syssrc/sys/net: if.c

Log Message:
(1) Make if_index "wrap" at USHRT_MAX instead of going above it so
that other parts of the kernel won't lose gratuitously.  There are
places where it's assumed that it won't grow that large.

(2) Avoid accidental reuse of occupied slots in the ifindex2ifnet[]
table.


To generate a diff of this commit:
cvs rdiff -r1.101 -r1.102 syssrc/sys/net/if.c

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