Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()

commit 40384e4bbe upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
K. Y. Srinivasan 2015-02-27 11:26:04 -08:00 • committed by Luis Henriques
commit 6ae3a0fe1e