Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/ic



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.




Home | Main Index | Thread Index | Old Index