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:00:02 +0000 (08:00 -0700)
commit9ac5d53ca3d2c5b849a57227cc5b0c958692cfdb
tree39157d942a9a01ab5437e600e03f3f4471a15d60
parent87f7b77e5fe55f27fd705b858eae9858ebdb2327
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