aboutsummaryrefslogtreecommitdiff
path: root/sys/miscfs/(developers-only)
diff options
context:
space:
mode:
authorChristos Margiolis <christos@FreeBSD.org>2024-07-06 18:23:22 +0000
committerChristos Margiolis <christos@FreeBSD.org>2024-07-06 18:23:22 +0000
commite850bd36dfda98608432d2459800627d16119fec (patch)
treea3f0c266e37daf28784063a6a7bb3ab7b13c8565 /sys/miscfs/(developers-only)
parent1a768ea9db3d66941b0dc5340ac028ef548808b8 (diff)
downloadsrc-main.tar.gz
src-main.zip
sound: Add missing CHN_[UN]LOCKs in sndstatHEADmain
In sndstat_build_sound4_nvlist(), if we have INVARIANTS or SND_DIAGNOSTIC enabled, we will hit a lock assertion panic when we call CHN_GETVOLUME(). Also lock the channel in the sndstat_prepare_pcm() loop for good measure. Fixes: bbca3a75bb41 ("sound: Include sound(4) channel information in sndstat nvlist") Sponsored by: The FreeBSD Foundation MFC after: 2 days Reviewed by: dev_submerge.ch Differential Revision: https://reviews.freebsd.org/D45898
Diffstat (limited to 'sys/miscfs/(developers-only)')
0 files changed, 0 insertions, 0 deletions