]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC (revision 1.109, requested by kib):
authorariff <ariff@FreeBSD.org>
Wed, 28 May 2008 14:45:05 +0000 (14:45 +0000)
committerariff <ariff@FreeBSD.org>
Wed, 28 May 2008 14:45:05 +0000 (14:45 +0000)
commit08a3e03df3fc1b3c255b82eeacbf5287dc8ffff6
treec3b1d323d1c65c47e5692a7613c8092c21af9882
parent829ec90302bbef38b0c7b09c74ac5d0af644bacb
MFC (revision 1.109, requested by kib):

Release pcm mutex before calling snd_clone_unref(), which in turns might
calling destroy_dev() with sleepable malloc(9). The entire opetation
is being serialized through pcm cv from top down, so dropping mutex is
rather safe.

Reported by: delphij
sys/dev/sound/pcm/dsp.c