diff options
| author | Juergen Gross <[email protected]> | 2017-05-18 15:28:48 +0000 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2017-06-13 20:09:41 +0000 |
| commit | 71df1d7ccad1c36f7321d6b3b48f2ea42681c363 (patch) | |
| tree | 3a7679bd60a7d022a8fc9cf72491bb9173abac4e /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | xen/blkback: fix disconnect while I/Os in flight (diff) | |
| download | kernel-71df1d7ccad1c36f7321d6b3b48f2ea42681c363.tar.gz kernel-71df1d7ccad1c36f7321d6b3b48f2ea42681c363.zip | |
xen/blkback: don't free be structure too early
The be structure must not be freed when freeing the blkif structure
isn't done. Otherwise a use-after-free of be when unmapping the ring
used for communicating with the frontend will occur in case of a
late call of xenblk_disconnect() (e.g. due to an I/O still active
when trying to disconnect).
Signed-off-by: Juergen Gross <[email protected]>
Tested-by: Steven Haigh <[email protected]>
Acked-by: Roger Pau Monné <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
