Page MenuHomeFreeBSD

sound: Remove KASSERT from vchan_setnew()
ClosedPublic

Authored by christos on Sep 5 2024, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 10:23 PM
Unknown Object (File)
Fri, May 8, 9:59 AM
Unknown Object (File)
Thu, May 7, 7:12 PM
Unknown Object (File)
Wed, May 6, 5:47 AM
Unknown Object (File)
Tue, Apr 28, 8:44 AM
Unknown Object (File)
Apr 9 2026, 10:14 AM
Unknown Object (File)
Apr 9 2026, 4:37 AM
Unknown Object (File)
Apr 8 2026, 10:41 PM
Subscribers

Details

Summary

This check is not really useful, and can in fact break things, if
sysctl_dev_pcm_vchans() calls vchan_setnew() with a value that will not
satisfy the KASSERT condition.

Sponsored by: The FreeBSD Foundation
MFC after: 2 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable