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
F82944526: D7112.diff
Sat, May 4, 7:50 AM
Unknown Object (File)
Fri, Apr 26, 6:39 AM
Unknown Object (File)
Fri, Apr 26, 6:23 AM
Unknown Object (File)
Dec 22 2023, 9:26 PM
Unknown Object (File)
Dec 22 2023, 1:12 PM
Unknown Object (File)
Dec 22 2023, 1:11 PM
Unknown Object (File)
Nov 13 2023, 7:34 AM
Unknown Object (File)
Nov 13 2023, 7:10 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.