cvs commit: src/sys/compat/ndis kern_ndis.c ndis_var.h subr_ntoskrnl.c src/sys/dev/if_ndis if_ndis.c

Bill Paul wpaul at FreeBSD.org
Wed May 4 23:15:00 PDT 2005


wpaul       2005-05-05 06:14:59 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c ndis_var.h subr_ntoskrnl.c 
    sys/dev/if_ndis      if_ndis.c 
  Log:
  Avoid sleeping with mutex held in kern_ndis.c.
  
  Remove unused fields from ndis_miniport_block.
  
  Fix a bug in KeFlushQueuedDpcs() (we weren't calculating the kq pointer
  correctly).
  
  In if_ndis.c, clear the IFF_RUNNING flag before calling ndis_halt_nic().
  
  Add some guards in kern_ndis.c to avoid letting anyone invoke ndis_get_info()
  or ndis_set_info() if the NIC isn't fully initialized. Apparently, mdnsd
  will sometimes try to invoke the ndis_ioctl() routine at exactly the
  wrong moment (to futz with its multicast filters) when the interface
  comes up, and can trigger a crash unless we guard against it.
  
  Revision  Changes    Path
  1.80      +31 -26    src/sys/compat/ndis/kern_ndis.c
  1.39      +0 -7      src/sys/compat/ndis/ndis_var.h
  1.67      +1 -2      src/sys/compat/ndis/subr_ntoskrnl.c
  1.91      +2 -2      src/sys/dev/if_ndis/if_ndis.c


More information about the cvs-src mailing list