]> Pileus Git - ~andy/linux/commit
iucv: fix kernel panic at reboot
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Wed, 6 Feb 2013 15:12:03 +0000 (16:12 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 14 Feb 2013 14:55:19 +0000 (15:55 +0100)
commitc0048de29d207fe3407360c28a9025891506dd6a
treeaa6684b2e790103c7f26654ed638b91d31b4aace
parent0e0d04a8677f33360cfbb5f8c7aa4ee8cbf5a287
iucv: fix kernel panic at reboot

The iucv base layer is initialized during the registration of the
first iucv handler.  If no handler is registered and the
iucv_reboot_event() notifier is called, a missing check can cause
a kernel panic in iucv_block_cpu().  To solve this issue, check the
IRQ masks invoke iucv_block_cpu() for enabled CPUs only.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
net/iucv/iucv.c