kernel-hacking-2024-linux-s.../drivers/s390/cio
Sebastian Ott 3b554a14f4 [S390] cio: move final put_device to ccw_device_unregister
We use a test_and_clear_bit to prevent a device from being
unregistered twice. Unfortunately in this cases the "final"
put_device (from device_initialize) was issued more than once,
resulting in an use after free error. Fix this by moving this
put_device to ccw_device_unregister.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-09-11 10:29:40 +02:00
..
airq.c
blacklist.c
blacklist.h
ccwgroup.c
chp.c
chp.h
chsc.c
chsc.h [S390] cio: move scsw helper functions to header file 2009-09-11 10:29:36 +02:00
chsc_sch.c
chsc_sch.h
cio.c [S390] cio: remove subchannel init_name 2009-09-11 10:29:40 +02:00
cio.h [S390] cio: remove subchannel init_name 2009-09-11 10:29:40 +02:00
cio_debug.h
cmf.c
crw.c
css.c [S390] cio: remove subchannel init_name 2009-09-11 10:29:40 +02:00
css.h
device.c [S390] cio: move final put_device to ccw_device_unregister 2009-09-11 10:29:40 +02:00
device.h
device_fsm.c [S390] cio: failing set online/offline processing. 2009-09-11 10:29:38 +02:00
device_id.c
device_ops.c
device_pgid.c
device_status.c
fcx.c
idset.c
idset.h
io_sch.h
ioasm.h
isc.c
itcw.c
Makefile [S390] cio: move scsw helper functions to header file 2009-09-11 10:29:36 +02:00
qdio.h [S390] qdio: remove limited number of debugfs entries 2009-09-11 10:29:39 +02:00
qdio_debug.c [S390] qdio: remove limited number of debugfs entries 2009-09-11 10:29:39 +02:00
qdio_debug.h
qdio_main.c [S390] qdio: continue polling if the queue is not finished 2009-09-11 10:29:37 +02:00
qdio_perf.c
qdio_perf.h
qdio_setup.c
qdio_thinint.c