projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Drivers: hv: vmbus: Implement the protocol for tearing down vmbus state
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hv
/
connection.c
diff --git
a/drivers/hv/connection.c
b/drivers/hv/connection.c
index b27220a425f4a44b6b1143f39017998f1b77533a..acd50e9d666ae96a56f003af725e32b36a6e333d 100644
(file)
--- a/
drivers/hv/connection.c
+++ b/
drivers/hv/connection.c
@@
-227,6
+227,11
@@
cleanup:
void vmbus_disconnect(void)
{
+ /*
+ * First send the unload request to the host.
+ */
+ vmbus_initiate_unload();
+
if (vmbus_connection.work_queue) {
drain_workqueue(vmbus_connection.work_queue);
destroy_workqueue(vmbus_connection.work_queue);