benjsc      2007-11-27 09:09:09 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/wpi          if_wpi.c 
  Log:
  Fix up a race condition with the callout_stop method in newstate.
  
  The call should happen with the driver lock held. We don't hold the driver
  lock in newstate as it's a separate thread where we can't sleep (and we only
  call wpi_cmd in async mode).
  
  Discovered By: Attillo's callout rework
  Approved By: mlaier (comentor)
  
  Revision  Changes    Path
  1.5       +4 -1      src/sys/dev/wpi/if_wpi.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to