]> 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)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 13 Mar 2017 21:20:54 +0000 (15:20 -0600)
commitca0b5897e11ebcd15770561849f45f2c7a980d85
tree6b82a9e55bdd823bffce168a87773489e83b8b0e
parent1b7d44c16f61522ee0c7b79d6f666a89c3244a5a
Drivers: hv: util: kvp: Fix a rescind processing issue

BugLink: http://bugs.launchpad.net/bugs/1672544
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>
drivers/hv/hv_kvp.c