]> git.hungrycats.org Git - linux/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)
committerJiri Slaby <jslaby@suse.cz>
Tue, 29 Jul 2014 14:45:42 +0000 (16:45 +0200)
commit65769bee8f02c6f0d22211732030ae7c62358862
treed149986c290c4db6d16b92ff13b8a80a67c63a76
parent02c9a938ac9e5253cf603fa2fbc20b419ae90ec7
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: Jiri Slaby <jslaby@suse.cz>
drivers/hv/hv_kvp.c
drivers/hv/hv_util.c