cvs commit: src/sys/compat/ndis subr_ndis.c

Bill Paul wpaul at FreeBSD.org
Mon Dec 22 02:22:59 PST 2003


wpaul       2003/12/22 02:22:58 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c 
  Log:
  Some minor touchups:
  
  In NdisQueryBuffer() and NdisQueryBufferSafe(), the vaddr argument is
  optional, so test it before trying to dereference it.
  
  Also correct NdisGetFirstBufferFromPacket()/NdisGetFirstBufferFromPacketSafe():
  we need to use nb_mappedsystemva from the buffer, not nb_systemva.
  
  Revision  Changes    Path
  1.10      +9 -4      src/sys/compat/ndis/subr_ndis.c


More information about the cvs-src mailing list