diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2016-12-22 16:54:00 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 06:44:17 +0100 |
commit | ec6f27bd19e0f9142c71d293d4c3b381348550b7 (patch) | |
tree | 67d8c6991e4412d999a8b5d191450bcebc193587 /include | |
parent | 42b0681b7fe98556c1e4288e534368cc0bf607f9 (diff) | |
download | linux-stable-ec6f27bd19e0f9142c71d293d4c3b381348550b7.tar.gz linux-stable-ec6f27bd19e0f9142c71d293d4c3b381348550b7.tar.bz2 linux-stable-ec6f27bd19e0f9142c71d293d4c3b381348550b7.zip |
Drivers: hv: vmbus: Fix a rescind handling bug
commit ccb61f8a99e6c29df4fb96a65dad4fad740d5be9 upstream.
The host can rescind a channel that has been offered to the
guest and once the channel is rescinded, the host does not
respond to any requests on that channel. Deal with the case where
the guest may be blocked waiting for a response from the host.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hyperv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 183efde54269..62679a93e01e 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -641,6 +641,7 @@ struct vmbus_channel_msginfo { /* Synchronize the request/response if needed */ struct completion waitevent; + struct vmbus_channel *waiting_channel; union { struct vmbus_channel_version_supported version_supported; struct vmbus_channel_open_result open_result; |