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)
Tue, May 19, 8:43 PM
Unknown Object (File)
May 11 2026, 1:28 AM
Unknown Object (File)
May 10 2026, 11:05 PM
Unknown Object (File)
May 10 2026, 4:02 PM
Unknown Object (File)
May 10 2026, 4:02 PM
Unknown Object (File)
Apr 29 2026, 1:12 AM
Unknown Object (File)
Apr 19 2026, 9:18 AM
Unknown Object (File)
Apr 18 2026, 11:13 AM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.