]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Fix rescind handling
authorK. Y. Srinivasan <kys@microsoft.com>
Sun, 30 Apr 2017 23:21:18 +0000 (16:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 May 2017 14:55:28 +0000 (16:55 +0200)
commit264bca7f36fdb403e8992e8f3c43e0cd17cd80e1
tree308f05e5a3e1c693fc8c5952ec2ecc942baab42e
parentf2bfd08c316443692f21a5f0cf4183e1cdbea7a4
Drivers: hv: vmbus: Fix rescind handling

Fix the rescind handling. This patch addresses the following rescind
scenario that is currently not handled correctly:

If a rescind were to be received while the offer is still being
peocessed, we will be blocked indefinitely since the rescind message
is handled on the same work element as the offer message. Fix this
issue.

I would like to thank Dexuan Cui <decui@microsoft.com> and
Long Li <longli@microsoft.com> for working with me on this patch.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/channel_mgmt.c
drivers/hv/connection.c
drivers/hv/hyperv_vmbus.h
drivers/hv/vmbus_drv.c