diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2011-01-05 14:48:13 +0300 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 14:47:31 +0300 |
commit | c03017544e3b2e60aa3c8ae451fac01595f1bf11 (patch) | |
tree | 4321b487b2c6826aa2c6f6247696d86001b96082 /arch/s390 | |
parent | f602be639e97024a77062368e123008c94b3109a (diff) | |
download | linux-c03017544e3b2e60aa3c8ae451fac01595f1bf11.tar.xz |
[S390] cio: fix ccwgroup unregistration race condition
A race condition exists in the ccwgroup device unregistration code
which can cause a kernel panic due to a use-after-free bug. This
race condition might be triggered when all ccw devices associated with
a ccwgroup device are removed at the same time (e.g. because the
corresponding channel path becomes no longer available).
Fix this race condition by clearing the references from the associated
ccw devices to the ccw group device during unregistration of the
ccw group device.
Signed-off-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions