Commit 49afcd31 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Sasha Levin
Browse files

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



[ Upstream commit 40384e4b ]

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

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent a31989f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment