]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: util: Fix a bug in version negotiation code for util services
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 2 Jul 2013 17:31:30 +0000 (10:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:40:41 +0000 (16:40 -0700)
commit486b6db4878fcf02b46be4861045860c2b18ee60
treeb5930cd4e558ff76838966e8a23941352acf9a0e
parent5579a3dd11c92419974265c82c14e53467668882
Drivers: hv: util: Fix a bug in version negotiation code for util services

The current code picked the highest version advertised by the host. WS2012 R2
has implemented a protocol version for KVP that is not compatible with prior
protocol versions of KVP. Fix the bug in the current code by explicitly specifying
the protocol version that the guest can support.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/hv_kvp.c
drivers/hv/hv_snapshot.c
drivers/hv/hv_util.c
include/linux/hyperv.h