diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2009-09-11 10:28:20 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-09-11 10:29:38 +0200 |
commit | be7a2ddce66991c05a1c6ad19790289591e53547 (patch) | |
tree | 89b74961a7da107e7eebe4486f48bb9c4426938e /drivers/uwb/est.c | |
parent | e2910bcf8ca762b306767a0894ab1987be014c9e (diff) |
[S390] cio: ensure to hold a reference for deferred deregistration
Ensure to always hold an extra device reference for scheduling a
subchannel deregistration, by moving the get_device to
ccw_device_schedule_sch_unregister. This fixes an use after free
error in ccw_device_call_sch_unregister where put_device was called
on an already freed device structure.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/uwb/est.c')
0 files changed, 0 insertions, 0 deletions