diff options
author | Dexuan Cui <decui@microsoft.com> | 2019-09-05 23:01:20 +0000 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2019-09-06 14:52:44 -0400 |
commit | 1f48dcf180e5422b1a633b24680dd0f5c3f540f5 (patch) | |
tree | 20d79f9ecaf990857ec86829d38b89b8e39724f6 /drivers/hv/channel_mgmt.c | |
parent | f53335e3289f9ac3a6a8faf6c2f819eee508bd39 (diff) | |
download | linux-1f48dcf180e5422b1a633b24680dd0f5c3f540f5.tar.bz2 |
Drivers: hv: vmbus: Clean up hv_sock channels by force upon suspend
Fake RESCIND_CHANNEL messages to clean up hv_sock channels by force for
hibernation. There is no better method to clean up the channels since
some of the channels may still be referenced by the userspace apps when
hibernation is triggered: in this case, with this patch, the "rescind"
fields of the channels are set, and the apps will thoroughly destroy
the channels after hibernation.
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hv/channel_mgmt.c')
0 files changed, 0 insertions, 0 deletions