]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
Drivers: hv: util: kvp: Fix a rescind processing issue
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 23 Dec 2016 00:54:01 +0000 (16:54 -0800)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Thu, 6 Apr 2017 08:21:42 +0000 (09:21 +0100)
commit25bd7544bc16d5a72ed36523e356b0eaf8837e1a
tree60f0c0fdcb961f8ca13eac82b012bc3648debc3b
parentbd2d9ddd78ed234407c334250aaa3e0df77ff5b1
Drivers: hv: util: kvp: Fix a rescind processing issue

BugLink: http://bugs.launchpad.net/bugs/1673538
commit 5a66fecbf6aa528e375cbebccb1061cc58d80c84 upstream.

KVP may use a char device to support the communication between
the user level daemon and the driver. When the KVP channel is rescinded
we need to make sure that the char device is fully cleaned up before
we can process a new KVP offer from the host. Implement this logic.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/hv/hv_kvp.c