]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Release cpu lock in error case
authorSaurabh Sengar <ssengar@linux.microsoft.com>
Thu, 9 Jun 2022 17:16:36 +0000 (10:16 -0700)
committerWei Liu <wei.liu@kernel.org>
Fri, 10 Jun 2022 08:41:28 +0000 (08:41 +0000)
commite2c9e0c4aa20a89d5bd331bdb4049562705efbb7
treeaa2dc5c0a31545a18ee6a7a21ac684438d4f25d8
parent6bd28671c195c1f96728594d62d4a222b3c5f8ec
Drivers: hv: vmbus: Release cpu lock in error case

In case of invalid sub channel, release cpu lock before returning.

Fixes: 2228df9d4e449 ("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>
drivers/hv/channel_mgmt.c