Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Feb 2015 19:26:04 +0000 (11:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:30:08 +0000 (19:30 -0800)
commit40384e4bbeb9f2651fe9bffc0062d9f31ef625bf
treecf93c3c72e813f1be0ece2f6a42a6f1fece1b625
parentb057b3ad16e1c6e21e234cd7f5c61c525da97f17
Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()

Correctly rollback state if the failure occurs after we have handed over
the ownership of the buffer to the host.

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