]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()
authorDexuan Cui <decui@microsoft.com>
Tue, 5 Jun 2018 20:37:52 +0000 (13:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:02:28 +0000 (13:02 +0200)
commitc817610a446766907b9313575644d50005a0842f
tree27ccc87b746ff9dd903cf15979872254d0f91ce5
parent8358dd46bb540151228cee5b6924ba33fbe965ac
Drivers: hv: vmbus: Fix the offer_in_progress in vmbus_process_offer()

I didn't really hit a real bug, but just happened to spot the bug:
we have decreased the counter at the beginning of vmbus_process_offer(),
so we mustn't decrease it again.

Fixes: da26e9dfb054 ("Drivers: hv: vmbus: Fix rescind handling issues")
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Cc: stable@vger.kernel.org
Cc: Stephen Hemminger <sthemmin@microsoft.com>
Cc: K. Y. Srinivasan <kys@microsoft.com>
Cc: Stable <stable@vger.kernel.org> # 4.14 and above
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c