]> git.baikalelectronics.ru Git - kernel.git/commit
Drivers: hv: vmbus: Fix a bug in the handling of channel offers
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 26 Aug 2013 21:08:58 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 04:49:26 +0000 (21:49 -0700)
commit1c7921140fcf1f1bc147b5a8b1bb437f8149c469
tree0ae78b0a2c9c1c1f651ac1d11196e8e371c68b91
parenta4b4a398d750b1d5aa11bc69bec5ea71541dc54e
Drivers: hv: vmbus: Fix a bug in the handling of channel offers

The channel state should be correctly set before registering the device. In the current
code the driver probe would fail for channels that have been rescinded and subsequently
re-offered. Fix the bug.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Cc: stable <stable@vger.kernel.org> # 3.11
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c