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
Unknown Object (File)
Mon, Jul 28, 8:57 AM
Unknown Object (File)
Sun, Jul 27, 9:30 PM
Unknown Object (File)
Thu, Jul 24, 5:25 AM
Unknown Object (File)
Thu, Jul 24, 4:52 AM
Unknown Object (File)
Thu, Jul 24, 4:18 AM
Unknown Object (File)
Thu, Jul 24, 4:08 AM
Unknown Object (File)
Mon, Jul 14, 1:53 PM
Unknown Object (File)
Sun, Jul 13, 4:05 PM
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

Lint
Lint Skipped
Unit
Tests Skipped

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.