Drivers: hv: util: Fix a bug in the KVP code
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 7 Jul 2014 23:34:25 +0000 (16:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Jul 2014 15:05:56 +0000 (08:05 -0700)
commitd887a032c8d56b4b525f698ac2354876f6a4a5b4
tree76cc12cb6147d126b1bd80e77dfbe854c2b2771e
parent815ba8f81857efadce6af198b07731cebf3e6b35
Drivers: hv: util: Fix a bug in the KVP code

commit 9bd2d0dfe4714dd5d7c09a93a5c9ea9e14ceb3fc upstream.

Add code to poll the channel since we process only one message
at a time and the host may not interrupt us. Also increase the
receive buffer size since some KVP messages are close to 8K bytes in size.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_kvp.c
drivers/hv/hv_util.c