Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 09:09:09 +0000 (UTC)
From:      Benjamin Close <benjsc@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/wpi if_wpi.c
Message-ID:  <200711270909.lAR9990r025109@repoman.freebsd.org>

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



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