diff options
author | mav <mav@FreeBSD.org> | 2012-02-14 09:19:30 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-02-14 09:19:30 +0000 |
commit | 14a943873ac614622dc8d63396837eb2b90f64bb (patch) | |
tree | 52108d906f8ad47783c147915429809381d95d96 /usr.bin | |
parent | 0cc840ee23062e4ae7541fa8c16bed937d496cf1 (diff) | |
download | FreeBSD-src-14a943873ac614622dc8d63396837eb2b90f64bb.zip FreeBSD-src-14a943873ac614622dc8d63396837eb2b90f64bb.tar.gz |
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
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions