summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorMichael Kelley <mikelley@microsoft.com>2018-08-10 23:06:11 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-12 09:46:46 +0200
commitf25a7ece08bdb1f2b3c4bbeae942682fc3a99dde (patch)
tree2670ed8bb674f0650247211e1e12cb49298e74d5 /.get_maintainer.ignore
parent8e6925631aae550bdaea4c442e8ecbab4a9685d2 (diff)
Drivers: hv: vmbus: Fix synic per-cpu context initialization
If hv_synic_alloc() errors out, the state of the per-cpu context for some CPUs is unknown since the zero'ing is done as each CPU is iterated over. In such case, hv_synic_cleanup() may try to free memory based on uninitialized values. Fix this by zero'ing the per-cpu context for all CPUs before doing any memory allocations that might fail. Signed-off-by: Michael Kelley <mikelley@microsoft.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions