summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2015-04-22 21:31:30 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 12:18:23 -0700
commit813c5b7958a288c4333ef1eb2fa4b486cdcdda9a (patch)
tree82dab62921390f53d7592baa19f2e71a58c0afa2 /include/linux/hyperv.h
parent096c605feb3d85b309e95db2afc01584b967cc23 (diff)
downloadop-kernel-dev-813c5b7958a288c4333ef1eb2fa4b486cdcdda9a.zip
op-kernel-dev-813c5b7958a288c4333ef1eb2fa4b486cdcdda9a.tar.gz
hv: vmbus_free_channels(): remove the redundant free_channel()
free_channel() has been invoked in vmbus_remove() -> hv_process_channel_removal(), or vmbus_remove() -> ... -> vmbus_close_internal() -> hv_process_channel_removal(). We also change to use list_for_each_entry_safe(), because the entry is removed in hv_process_channel_removal(). This patch fixes a bug in the vmbus unload path. Thank Dan Carpenter for finding the issue! Signed-off-by: Dexuan Cui <decui@microsoft.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud