diff options
author | benjsc <benjsc@FreeBSD.org> | 2007-11-27 09:09:09 +0000 |
---|---|---|
committer | benjsc <benjsc@FreeBSD.org> | 2007-11-27 09:09:09 +0000 |
commit | 5ea08ee1129594ac4413de68021a12c2008a2c30 (patch) | |
tree | e19230158140833f1177fd84a1233a65f61b99a4 /lib/libc/stdlib/system.3 | |
parent | 981215a5d399f0c53f50e0ff06b9fc40658df99d (diff) | |
download | FreeBSD-src-5ea08ee1129594ac4413de68021a12c2008a2c30.zip FreeBSD-src-5ea08ee1129594ac4413de68021a12c2008a2c30.tar.gz |
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)
Diffstat (limited to 'lib/libc/stdlib/system.3')
0 files changed, 0 insertions, 0 deletions