1
0
Fork 0
alistair23-linux/drivers/hv
K. Y. Srinivasan 192b2d7872 Drivers: hv: vmbus: Fix bugs in rescind handling
This patch addresses the following bugs in the current rescind handling code:

1. Fixes a race condition where we may be invoking hv_process_channel_removal()
on an already freed channel.

2. Prevents indefinite wait when rescinding sub-channels by correctly setting
the probe_complete state.

I would like to thank Dexuan for patiently reviewing earlier versions of this
patch and identifying many of the issues fixed here.

Greg, please apply this to 4.14-final.

Fixes: '54a66265d675 ("Drivers: hv: vmbus: Fix rescind handling")'

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Cc: stable@vger.kernel.org # (4.13 and above)
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-04 11:25:09 +02:00
..
Kconfig x86/hyper-v: Use hypercall for remote TLB flush 2017-08-10 20:16:44 +02:00
Makefile Drivers: hv: util: introduce hv_utils_transport abstraction 2015-05-24 12:17:41 -07:00
channel.c Drivers: hv: vmbus: Fix bugs in rescind handling 2017-10-04 11:25:09 +02:00
channel_mgmt.c Drivers: hv: vmbus: Fix bugs in rescind handling 2017-10-04 11:25:09 +02:00
connection.c hyper-v: Globalize vp_index 2017-08-10 16:50:23 +02:00
hv.c hyper-v: Globalize vp_index 2017-08-10 16:50:23 +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 Drivers: hv: fcopy: restore correct transfer length 2017-09-22 10:29:54 +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 hyper-v: Globalize vp_index 2017-08-10 16:50:23 +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 bugs in rescind handling 2017-10-04 11:25:09 +02:00