Subject: CVS commit: syssrc/sys/dev/ic
To: None <source-changes@netbsd.org>
From: Darrin B. Jewell <dbj@netbsd.org>
List: source-changes
Date: 02/26/2002 11:18:56
Module Name: syssrc
Committed By: dbj
Date: Tue Feb 26 09:18:55 UTC 2002
Modified Files:
syssrc/sys/dev/ic: wi.c
Log Message:
avoid walking full length of unknown stats structure.
this partially addresses pr14385.
there is still a byte swapping bug retrieving the
stats structure. Since both the type and the length
are incorrectly swapped, we would timeout while reading
an extra long section (caused by the byteswapped length)
of garbage data.
turning on WI_DEBUG now just reports the unknown info type
which can be seen to be obviously incorrectly swapped
on macppc
To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 syssrc/sys/dev/ic/wi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.