> ret is still 0 from dm_get_device() when alloc_ordered_workqueue()
> fails, so pb_ctr() frees pb and returns success. The table keeps
> ti->private pointing to freed memory, and pb_dtr() destroys it a
> second time.
> 
> Fixes: 62e07487348e ("dm: Add push backup driver")
> https://virtuozzo.atlassian.net/browse/VSTOR-152912
> Signed-off-by: Andrey Zhadchenko <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.vzint.dev/#/patchset/[email protected]?part=2


_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to