]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Do not attempt to negoatiate a new version prematurely
authorK. Y. Srinivasan <kys@microsoft.com>
Wed, 28 Aug 2013 21:56:54 +0000 (14:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 30 Aug 2013 19:08:04 +0000 (12:08 -0700)
commita795aba508e3cda462ba0af6e8358d225676d9ab
tree62c2227012d203b502ab669237776f5ddb19709e
parentff3f887b3ae4cd9b3980f2cbaa8c843d626f7f0c
Drivers: hv: vmbus: Do not attempt to negoatiate a new version prematurely

The current code would attempt to negotiate a different protocol version if
the current negotiation timed out. This triggers an assert in the host (on debug
builds). Avoid this by negotiating a newer version only if the host properly
rejects the current version being negotiated.

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