diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2022-06-09 20:16:36 +0300 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2022-06-10 11:41:28 +0300 |
commit | 656c5ba50b7172a0ea25dc1b37606bd51d01fe8d (patch) | |
tree | aa2dc5c0a31545a18ee6a7a21ac684438d4f25d8 /arch/x86/hyperv | |
parent | f5f93d7f5a5cbfef02609dead21e7056e83f4fab (diff) | |
download | linux-656c5ba50b7172a0ea25dc1b37606bd51d01fe8d.tar.xz |
Drivers: hv: vmbus: Release cpu lock in error case
In case of invalid sub channel, release cpu lock before returning.
Fixes: a949e86c0d780 ("Drivers: hv: vmbus: Resolve race between init_vp_index() and CPU hotplug")
Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Link: https://lore.kernel.org/r/1654794996-13244-1-git-send-email-ssengar@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'arch/x86/hyperv')
0 files changed, 0 insertions, 0 deletions