mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
Drivers: hv: vmbus: Fix a rescind handling bug
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> Cc: <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
523b940870
commit
ccb61f8a99
3 changed files with 44 additions and 0 deletions
|
@ -627,6 +627,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue