diff options
author | Peter Oberparleiter <peter.oberparleiter@de.ibm.com> | 2011-01-05 12:48:13 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:31 +0100 |
commit | c03017544e3b2e60aa3c8ae451fac01595f1bf11 (patch) | |
tree | 4321b487b2c6826aa2c6f6247696d86001b96082 /arch/s390 | |
parent | f602be639e97024a77062368e123008c94b3109a (diff) |
[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