Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 01/29/2007 07:08:09
Module Name:	src
Committed By:	dyoung
Date:		Mon Jan 29 07:08:09 UTC 2007

Modified Files:
	src/sys/dev/ic: rtw.c

Log Message:
In rtw_dequeue(), initialize *mp to NULL before anything else, so
that it is either NULL or a valid mbuf.  Previously, it was possible
for rtw_dequeue() to exit with 0 before initializing *mp.  rtw_start()
would have used whatever trash was in *mp, which would lead to
problems later on.


To generate a diff of this commit:
cvs rdiff -r1.83 -r1.84 src/sys/dev/ic/rtw.c

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