summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov2014-10-01 22:58:35 +0200
committerMike Snitzer2014-10-06 02:03:38 +0200
commit56ec16cb1e1ce46354de8511eef962a417c32c92 (patch)
treebdc75b4c2fc10dd0087fdf05b47739902acf52f2 /drivers/md/dm-stripe.c
parentdm bufio: when done scanning return from __scan immediately (diff)
downloadkernel-qcow2-linux-56ec16cb1e1ce46354de8511eef962a417c32c92.tar.gz
kernel-qcow2-linux-56ec16cb1e1ce46354de8511eef962a417c32c92.tar.xz
kernel-qcow2-linux-56ec16cb1e1ce46354de8511eef962a417c32c92.zip
dm log userspace: fix memory leak in dm_ulog_tfr_init failure path
If cn_add_callback() fails in dm_ulog_tfr_init(), it does not deallocate prealloced memory but calls cn_del_callback(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Jonathan Brassow <jbrassow@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/md/dm-stripe.c')
0 files changed, 0 insertions, 0 deletions