summaryrefslogtreecommitdiffstats
path: root/lib/iommu-common.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2015-04-23 06:31:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 21:18:23 +0200
commit813c5b7958a288c4333ef1eb2fa4b486cdcdda9a (patch)
tree82dab62921390f53d7592baa19f2e71a58c0afa2 /lib/iommu-common.c
parentDrivers: hv: vmbus: unregister panic notifier on module unload (diff)
downloadlinux-813c5b7958a288c4333ef1eb2fa4b486cdcdda9a.tar.xz
linux-813c5b7958a288c4333ef1eb2fa4b486cdcdda9a.zip
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 'lib/iommu-common.c')
0 files changed, 0 insertions, 0 deletions