linux/drivers/block/drbd
Lars Ellenberg 1b57e66384 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>
2016-06-13 21:43:08 -06:00
..
drbd_actlog.c drbd: al_write_transaction: skip re-scanning of bitmap page pointer array 2016-06-13 21:43:08 -06:00
drbd_bitmap.c drbd: al_write_transaction: skip re-scanning of bitmap page pointer array 2016-06-13 21:43:08 -06:00
drbd_debugfs.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_debugfs.h
drbd_int.h drbd: al_write_transaction: skip re-scanning of bitmap page pointer array 2016-06-13 21:43:08 -06:00
drbd_interval.c
drbd_interval.h drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_main.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_nl.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_nla.c
drbd_nla.h
drbd_proc.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_protocol.h drbd: introduce WRITE_SAME support 2016-06-13 21:43:07 -06:00
drbd_receiver.c drbd: correctly handle failed crypto_alloc_hash 2016-06-13 21:43:08 -06:00
drbd_req.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_req.h drbd: introduce WRITE_SAME support 2016-06-13 21:43:07 -06:00
drbd_state_change.h
drbd_state.c drbd: get rid of empty statement in is_valid_state 2016-06-13 21:43:07 -06:00
drbd_state.h drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_strings.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
drbd_strings.h
drbd_vli.h
drbd_worker.c drbd: code cleanups without semantic changes 2016-06-13 21:43:07 -06:00
Kconfig
Makefile