diff options
| author | Ilya Dryomov <[email protected]> | 2015-08-31 12:21:39 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2015-09-08 20:14:29 +0000 |
| commit | 3ebe138ac642a195c7f2efdb918f464734421fd6 (patch) | |
| tree | 46a1a5e7244247574e78f39ea7053f9b08bb97ea /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | libceph: set 'exists' flag for newly up osd (diff) | |
| download | kernel-3ebe138ac642a195c7f2efdb918f464734421fd6.tar.gz kernel-3ebe138ac642a195c7f2efdb918f464734421fd6.zip | |
rbd: fix double free on rbd_dev->header_name
If rbd_dev_image_probe() in rbd_dev_probe_parent() fails, header_name
is freed twice: once in rbd_dev_probe_parent() and then in its caller
rbd_dev_image_probe() (rbd_dev_image_probe() is called recursively to
handle parent images).
rbd_dev_probe_parent() is responsible for probing the parent, so it
shouldn't muck with clone's fields.
Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
