mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
holds sndstat_lock across a call to uiomove(), which is not legal to do with a mutex because of the possibility that the data transfer could sleep because of a page fault. It is not possible to just unlock the mutex for the uiomove() call without introducing another locking mechanism to prevent the body of sndstat_read() from being re-entered. Converting sndstat_lock to an sx lock is the least complicated change. This is a candidate for RELENG_5. LOR: 030 MFC after: 4 days |
||
|---|---|---|
| .. | ||
| ac97.c | ||
| ac97.h | ||
| ac97_if.m | ||
| ac97_patch.c | ||
| ac97_patch.h | ||
| buffer.c | ||
| buffer.h | ||
| channel.c | ||
| channel.h | ||
| channel_if.m | ||
| dsp.c | ||
| dsp.h | ||
| fake.c | ||
| feeder.c | ||
| feeder.h | ||
| feeder_fmt.c | ||
| feeder_if.m | ||
| feeder_rate.c | ||
| mixer.c | ||
| mixer.h | ||
| mixer_if.m | ||
| sndstat.c | ||
| sound.c | ||
| sound.h | ||
| vchan.c | ||
| vchan.h | ||