]> git.karo-electronics.de Git - linux-beck.git/commit
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>
Wed, 9 Jul 2014 21:34:35 +0000 (14:34 -0700)
commit9bd2d0dfe4714dd5d7c09a93a5c9ea9e14ceb3fc
treeba27cecb93c7af8695d6f68b5125053c82aa8955
parentaffb1aff300ddee54df307812b38f166e8a865ef
Drivers: hv: util: Fix a bug in the KVP code

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