cvs commit: src/sys/dev/wpi if_wpi.c

Benjamin Close benjsc at
Tue Nov 27 01:09:10 PST 2007

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

  FreeBSD src repository

  Modified files:
    sys/dev/wpi          if_wpi.c 
  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

More information about the cvs-src mailing list