Drivers: hv: vmbus: Fix a rescind issue

commit 7fa32e5ec2 upstream.

The current rescind processing code will not correctly handle
the case where the host immediately rescinds a channel that has
been offerred. In this case, we could be blocked in the open call and
since the channel is rescinded, the host will not respond and we could
be blocked forever in the vmbus open call.i Fix this problem.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
K. Y. Srinivasan 2017-11-14 06:53:33 -07:00 • committed by Greg Kroah-Hartman
commit 3f77a2c68b
3 changed files with 13 additions and 5 deletions