Drivers: hv: vmbus: do sanity check of channel state in vmbus_close_internal()
authorDexuan Cui <decui@microsoft.com>
Tue, 15 Dec 2015 00:01:48 +0000 (16:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Dec 2015 03:15:05 +0000 (19:15 -0800)
commit64b7faf903dae2df94d89edf2c688b16751800e4
treefced91ec8e59aaea3457680c2433cbb13e484ea8
parent63d55b2aeb5e4faa170316fee73c3c47ea9268c7
Drivers: hv: vmbus: do sanity check of channel state in vmbus_close_internal()

This fixes an incorrect assumption of channel state in the function.

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c