Drivers: hv: vmbus: Fix the issue with freeing up hv_ctl_table_hdr
authorSunil Muthuswamy <sunilmut@microsoft.com>
Sat, 28 Jul 2018 21:58:46 +0000 (21:58 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Jul 2018 06:09:56 +0000 (08:09 +0200)
commit8afc06dd75c06b9d6e70e4a72fdafbd4cab8d1df
treedef648d460bdd455fd7072527a715f7023c8cf61
parentddcaf3ca4c3c87b955ad6f57952250030be77791
Drivers: hv: vmbus: Fix the issue with freeing up hv_ctl_table_hdr

The check to free the Hyper-V control table header was reversed. This
fixes it.

Fixes: 81b18bce48af ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic")

Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c