mirror of
https://github.com/opnsense/src.git
synced 2026-02-20 00:11:07 -05:00
Remove uses of cv_waiters in PCM_RELEASE and CHN_BROADCAST, and also use a counter around cv_timedwait_sig() in chn_sleep(), which is checked in pcm_killchans(), as opposed to reading cv_waiters directly, which is a layering violation. While here, move CHN_BROADCAST below the channel lock operations. Reported by: avg, jhb, markj Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch, avg Differential Revision: https://reviews.freebsd.org/D47780 (cherry picked from commit 46a97b9cd6fd4415270afe4070082ae69ee21035) |
||
|---|---|---|
| .. | ||
| fdt | ||
| isa | ||
| macio | ||
| midi | ||
| pci | ||
| pcm | ||
| usb | ||
| driver.c | ||
| dummy.c | ||