Page MenuHomeFreeBSD

hyperv/vmbus: Fix the racy channel close.
ClosedPublic

Authored by sepherosa_gmail.com on Jul 5 2016, 3:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 13, 11:49 PM
Unknown Object (File)
Tue, Aug 5, 9:14 AM
Unknown Object (File)
Tue, Jul 29, 7:56 AM
Unknown Object (File)
Tue, Jul 29, 4:23 AM
Unknown Object (File)
Tue, Jul 29, 1:53 AM
Unknown Object (File)
Tue, Jul 29, 1:23 AM
Unknown Object (File)
Jul 6 2025, 1:54 PM
Unknown Object (File)
Jun 28 2025, 4:54 PM
Subscribers
None

Details

Summary
It is not safe to iterate the sub-channel list w/o lock on the
close path, while it's even more difficult to hold the lock
and iterate the sub-channel list.  We leverage the
vmbua_{get,rel}_subchan() functions to solve this dilemma.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/vmbus: Fix the racy channel close..
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.