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)
commit666b9adc801ef012612c4e43e0f44b2cdc1979cf
tree62c2227012d203b502ab669237776f5ddb19709e
parente83736c80290b8b3139ce8615a3a49acec25fcc0
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