diff options
| author | Cong Zhang <cong.zhang@oss.qualcomm.com> | 2025-10-21 14:07:56 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2025-11-07 02:32:58 +0300 |
| commit | 0739c2c6a015604a7c01506bea28200a2cc2e08c (patch) | |
| tree | bf44a27eb455887b2932999aa9eb66d8d6e6b47d /tools/perf/scripts/python | |
| parent | 3451cf34f51bb70c24413abb20b423e64486161b (diff) | |
| download | linux-0739c2c6a015604a7c01506bea28200a2cc2e08c.tar.xz | |
virtio_blk: NULL out vqs to avoid double free on failed resume
The vblk->vqs releases during freeze. If resume fails before vblk->vqs
is allocated, later freeze/remove may attempt to free vqs again.
Set vblk->vqs to NULL after freeing to avoid double free.
Signed-off-by: Cong Zhang <cong.zhang@oss.qualcomm.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
