summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/traps.c
diff options
context:
space:
mode:
authorStefan Haberland <stefan.haberland@de.ibm.com>2015-10-14 11:01:05 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-10-15 09:28:15 +0200
commit6933c35a307cad0b8b847042346dde68866d3d2a (patch)
tree04cf85271047a5689b54976954cdb955bc39f93c /arch/s390/kernel/traps.c
parentfdbbe8e7914765aef82c696dcefc97fe462c3925 (diff)
downloadlinux-6933c35a307cad0b8b847042346dde68866d3d2a.tar.bz2
s390/dasd: fix list_del corruption after lcu changes
A summary unit check occurs when the lcu updates the PAV configuration e.g. base PAV assignment or PAV mode at all. This requires the reset of the drivers internal pavgroups. Therefore the alias devices are flushed and moved via a temporary list to the active_devices list where they are not associated with a pavgroup. In conjunction with updates to the base device the pavgroup may be removed since both base_list and alias_list are empty. Unfortunately during alias flush and move to the active_device list from alias_list the pavgroup pointer is not deleted in the device private structure. This leads to a list del_corruption if another lcu_update tries to move the device in the non existent pavgroup. Fix by removing the pavgroup pointer after the alias device was moved to the active_devices list. Signed-off-by: Stefan Haberland <stefan.haberland@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions