OpenCloudOS-Kernel/drivers/hv
K. Y. Srinivasan 6f3d791f30 Drivers: hv: vmbus: Fix rescind handling issues
This patch handles the following issues that were observed when we are
handling racing channel offer message and rescind message for the same
offer:

1. Since the host does not respond to messages on a rescinded channel,
in the current code, we could be indefinitely blocked on the vmbus_open() call.

2. When a rescinded channel is being closed, if there is a pending interrupt on the
channel, we could end up freeing the channel that the interrupt handler would run on.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Tested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-16 09:16:29 -07:00
..
Kconfig x86/hyperv: Implement hv_get_tsc_page() 2017-03-11 14:47:28 +01:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
channel.c Drivers: hv: vmbus: Fix rescind handling issues 2017-08-16 09:16:29 -07:00
channel_mgmt.c Drivers: hv: vmbus: Fix rescind handling issues 2017-08-16 09:16:29 -07:00
connection.c drivers: hv: vmbus: Increase the time between retries in vmbus_post_msg() 2017-05-25 15:42:42 +02:00
hv.c Drivers: hv: vmbus: Close timing hole that can corrupt per-cpu page 2017-05-25 15:42:42 +02:00
hv_balloon.c Drivers: hv: balloon: Initialize last_post_time on startup 2017-08-16 09:14:43 -07:00
hv_fcopy.c Merge 4.11-rc4 into char-misc-next 2017-03-27 09:13:04 +02:00
hv_kvp.c Drivers: hv: kvp: Use MAX_ADAPTER_ID_SIZE for translating adapter id 2017-08-16 09:14:43 -07:00
hv_snapshot.c Merge 4.11-rc4 into char-misc-next 2017-03-27 09:13:04 +02:00
hv_util.c hv_utils: fix TimeSync work on pre-TimeSync-v4 hosts 2017-05-25 15:42:42 +02:00
hv_utils_transport.c Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hv_utils_transport.h Drivers: hv: util: move waiting for release to hv_utils_transport itself 2017-03-16 16:42:00 +09:00
hyperv_vmbus.h Drivers: hv: vmbus: Fix rescind handling 2017-05-18 16:55:28 +02:00
ring_buffer.c vmbus: add prefetch to ring buffer iterator 2017-07-17 17:16:05 +02:00
vmbus_drv.c Drivers: hv: vmbus: Fix rescind handling issues 2017-08-16 09:16:29 -07:00