]> 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)
commit1bb341dee3b78fd6e0bf250519a692f734e73bec
tree62c2227012d203b502ab669237776f5ddb19709e
parentcffabf68df9010f389675518b897d4ffcd3add49
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