diff options
| author | Shawn.Shao <[email protected]> | 2023-08-21 06:03:33 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2023-10-18 15:28:47 +0000 |
| commit | d121df789b159e9a8ee770666f210975a81e8111 (patch) | |
| tree | 99af848b139ca46ba3b5124d33ec15dcfe03ea7e /tools/testing/selftests/bpf/progs/exceptions_ext.c | |
| parent | tools/virtio: Add dma sync api for virtio test (diff) | |
| download | kernel-d121df789b159e9a8ee770666f210975a81e8111.tar.gz kernel-d121df789b159e9a8ee770666f210975a81e8111.zip | |
vdpa_sim_blk: Fix the potential leak of mgmt_dev
If the shared_buffer allocation fails, need to unregister mgmt_dev first.
Cc: [email protected]
Fixes: abebb16254b36 ("vdpa_sim_blk: support shared backend")
Signed-off-by: Shawn.Shao <[email protected]>
Acked-by: Jason Wang <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/exceptions_ext.c')
0 files changed, 0 insertions, 0 deletions
