summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2016-06-13 22:26:39 (GMT)
committerJens Axboe <axboe@fb.com>2016-06-14 03:43:08 (GMT)
commit1b57e66384e2d21150301e68078526fac5680a16 (patch)
tree3af5073c4650026854b1af1af191ac9f22ec6464 /drivers/mmc/host
parent27ea1d876e16c0ca5ae6335fc85cf4f278f5c98c (diff)
downloadlinux-1b57e66384e2d21150301e68078526fac5680a16.tar.xz
drbd: correctly handle failed crypto_alloc_hash
crypto_alloc_hash returns an ERR_PTR(), not NULL. Also reset peer_integrity_tfm to NULL, to not call crypto_free_hash() on an errno in the cleanup path. Reported-by: Insu Yun <wuninsu@gmail.com> Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/mmc/host')
0 files changed, 0 insertions, 0 deletions