]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 15 May 2015 07:10:31 +0000 (09:10 +0200)
commitec091a7e9aad7a56e4991c8fe3891fb8c0352d31
treebd3fb11d5369dcd7dc8324f1a075b4ebf6669f97
parenta4bba4c18227fdcb246115d08507621b1181af40
Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()

commit 40384e4bbeb9f2651fe9bffc0062d9f31ef625bf 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: Jiri Slaby <jslaby@suse.cz>
drivers/hv/channel.c