]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf82c930b1c00a2dfad4573b0cd83885fcfee8286
treedef648d460bdd455fd7072527a715f7023c8cf61
parenta7b69273ed54e30c61a731a1bad8913279a58bef
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: 0f5833dfa97b ("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