OpenCloudOS-Kernel/drivers/hv
Long Li 407a3aee6e hv: do not lose pending heartbeat vmbus packets
The host keeps sending heartbeat packets independent of the
guest responding to them.  Even though we respond to the heartbeat messages at
interrupt level, we can have situations where there maybe multiple heartbeat
messages pending that have not been responded to. For instance this occurs when the
VM is paused and the host continues to send the heartbeat messages.
Address this issue by draining and responding to all
the heartbeat messages that maybe pending.

Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-25 08:52:10 +02:00
..
Kconfig x86: Make Linux guest support optional 2013-03-04 13:14:25 -08:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
channel.c Drivers: hv: ring_buffer: wrap around mappings for ring buffers 2016-09-02 17:22:51 +02:00
channel_mgmt.c Drivers: hv: get rid of id in struct vmbus_channel 2016-09-27 12:35:49 +02:00
connection.c Drivers: hv: vmbus: Reduce the delay between retries in vmbus_post_msg() 2016-08-31 13:05:41 +02:00
hv.c Drivers: hv: avoid vfree() on crash 2016-08-31 13:05:40 +02:00
hv_balloon.c Drivers: hv: balloon: Use available memory value in pressure report 2016-08-31 13:05:42 +02:00
hv_fcopy.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_kvp.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_snapshot.c Drivers: hv: utils: Check VSS daemon is listening before a hot backup 2016-09-02 17:22:51 +02:00
hv_util.c hv: do not lose pending heartbeat vmbus packets 2016-10-25 08:52:10 +02:00
hv_utils_transport.c Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hv_utils_transport.h Drivers: hv: utils: fix a race on userspace daemons registration 2016-08-31 13:05:41 +02:00
hyperv_vmbus.h Drivers: hv: ring_buffer: wrap around mappings for ring buffers 2016-09-02 17:22:51 +02:00
ring_buffer.c Drivers: hv: ring_buffer: use wrap around mappings in hv_copy{from, to}_ringbuffer() 2016-09-02 17:22:51 +02:00
vmbus_drv.c Drivers: hv: make VMBus bus ids persistent 2016-09-27 12:35:49 +02:00