Files
linux/drivers/md
Wei Yongjun f05431489f dm crypt: fix error return code in crypt_ctr()
commit 3cc2e57c4b upstream.

Fix to return error code -ENOMEM from the mempool_create_kmalloc_pool()
error handling case instead of 0, as done elsewhere in this function.

Fixes: ef43aa3806 ("dm crypt: add cryptographic data integrity protection (authenticated encryption)")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-23 19:58:19 +01:00
..
2016-11-01 09:43:26 -06:00
2017-06-09 09:27:32 -06:00
2017-06-09 09:27:32 -06:00
2017-09-27 20:07:40 -07:00