Drivers: hv: util: kvp: Fix a rescind processing issue
commit5a66fecbf6aa528e375cbebccb1061cc58d80c84
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 23 Dec 2016 00:54:01 +0000 (22 16:54 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 20:46:41 +0000 (10 21:46 +0100)
tree00b26c98e05214699007087c1be2de35f3ee5544
parentccb61f8a99e6c29df4fb96a65dad4fad740d5be9
Drivers: hv: util: kvp: Fix a rescind processing issue

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_kvp.c