cvs commit: src/sys/compat/ndis kern_ndis.c
Bill Paul
wpaul at FreeBSD.org
Tue Feb 10 15:01:54 PST 2004
wpaul 2004/02/10 15:01:53 PST
FreeBSD src repository
Modified files:
sys/compat/ndis kern_ndis.c
Log:
Add some bulletproofing: don't allow the ndis_get_info() or ndis_set_info()
routines to do anything except return error if the miniport adapter context
is not set (meaning we either having init'ed the driver yet, or the
initialization failed).
Also, be sure to NULL out the adapter context along with the
miniport characteristics pointers if calling the MiniportInitialize()
method fails.
Revision Changes Path
1.37 +7 -0 src/sys/compat/ndis/kern_ndis.c
More information about the cvs-src
mailing list