|
@@ -567,8 +567,11 @@ static int __cpuinit iucv_cpu_notify(struct notifier_block *self,
|
|
|
return NOTIFY_BAD;
|
|
|
iucv_param[cpu] = kmalloc_node(sizeof(union iucv_param),
|
|
|
GFP_KERNEL|GFP_DMA, cpu_to_node(cpu));
|
|
|
- if (!iucv_param[cpu])
|
|
|
+ if (!iucv_param[cpu]) {
|
|
|
+ kfree(iucv_irq_data[cpu]);
|
|
|
+ iucv_irq_data[cpu] = NULL;
|
|
|
return NOTIFY_BAD;
|
|
|
+ }
|
|
|
break;
|
|
|
case CPU_UP_CANCELED:
|
|
|
case CPU_UP_CANCELED_FROZEN:
|