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
F119432850: D7112.id.diff
Sun, Jun 8, 7:38 PM
Unknown Object (File)
Tue, May 20, 5:45 PM
Unknown Object (File)
Sun, May 11, 11:51 PM
Unknown Object (File)
Sat, May 10, 11:05 AM
Unknown Object (File)
Apr 27 2025, 7:18 PM
Unknown Object (File)
Apr 14 2025, 10:26 AM
Unknown Object (File)
Apr 14 2025, 7:06 AM
Unknown Object (File)
Apr 14 2025, 6: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

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.