Page MenuHomeFreeBSD

hyperv/vmbus: Fix the multi-channel revoking on vmbus side.
ClosedPublic

Authored by sepherosa_gmail.com on Nov 17 2016, 9:13 AM.
Tags
None
Referenced Files
F135481200: D8546.id.diff
Mon, Nov 10, 5:20 AM
Unknown Object (File)
Sun, Nov 9, 4:25 AM
Unknown Object (File)
Tue, Nov 4, 10:59 AM
Unknown Object (File)
Sat, Nov 1, 5:36 AM
Unknown Object (File)
Fri, Oct 31, 3:39 AM
Unknown Object (File)
Tue, Oct 28, 4:39 AM
Unknown Object (File)
Mon, Oct 27, 7:48 AM
Unknown Object (File)
Sun, Oct 26, 2:45 AM
Subscribers
None

Details

Summary
  • Reference count the sub-channel when channel offer message is processed, so that immediate rescind message on the same channel will not race sub-channel open on driver side.
  • Drop the above reference when sub-channel is closed, this closely mimics the hypervisor's reaction when primary channel is closed on the VM side. No drivers use sub-channel after primary channel is closed.

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 multi-channel revoking on vmbus side..
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.