Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2004 15:01:53 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/compat/ndis kern_ndis.c
Message-ID:  <200402102301.i1AN1rMA092024@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402102301.i1AN1rMA092024>