summaryrefslogtreecommitdiffstats
path: root/fs/dlm/lock.c
diff options
context:
space:
mode:
authorVasily Averin <vvs@virtuozzo.com>2018-11-15 11:15:05 +0100
committerDavid Teigland <teigland@redhat.com>2018-11-15 16:57:22 +0100
commitb982896cdb6e6a6b89d86dfb39df489d9df51e14 (patch)
treee235c573c093cb12f33261d65145260d5e1e2d89 /fs/dlm/lock.c
parentdlm: fix possible call to kfree() for non-initialized pointer (diff)
downloadlinux-b982896cdb6e6a6b89d86dfb39df489d9df51e14.tar.xz
linux-b982896cdb6e6a6b89d86dfb39df489d9df51e14.zip
dlm: fixed memory leaks after failed ls_remove_names allocation
If allocation fails on last elements of array need to free already allocated elements. v2: just move existing out_rsbtbl label to right place Fixes 789924ba635f ("dlm: fix race between remove and lookup") Cc: stable@kernel.org # 3.6 Signed-off-by: Vasily Averin <vvs@virtuozzo.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/lock.c')
0 files changed, 0 insertions, 0 deletions