diff options
author | Alexander Motin <mav@FreeBSD.org> | 2012-02-14 09:19:30 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2012-02-14 09:19:30 +0000 |
commit | 5525b53de5d250ef8ecaebea404c1085d35fe7cf (patch) | |
tree | 52108d906f8ad47783c147915429809381d95d96 /usr.sbin | |
parent | 9697f9f80138fbf8f0448b629baab2119fb89a0e (diff) | |
download | src-5525b53de5d250ef8ecaebea404c1085d35fe7cf.tar.gz src-5525b53de5d250ef8ecaebea404c1085d35fe7cf.zip |
Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module.
MOD_SHUTDOWN is not an end of existence, and there is a life after it.
In particular, code previously called on MOD_SHUTDOWN grabbed lock and
deallocated unit numbering. That caused infinite wait loop if snd_uaudio
tried to destroy its PCM device after that point.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=231647
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions