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)
Fri, Oct 18, 8:45 AM
Unknown Object (File)
Fri, Oct 18, 3:01 AM
Unknown Object (File)
Tue, Oct 15, 8:14 PM
Unknown Object (File)
Tue, Oct 15, 8:13 PM
Unknown Object (File)
Tue, Oct 15, 8:13 PM
Unknown Object (File)
Wed, Oct 9, 6:44 AM
Unknown Object (File)
Oct 1 2024, 4:12 AM
Unknown Object (File)
Oct 1 2024, 1:42 AM
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