commit | 3cc2e57c4beabcbbaa46e1ac6d77ca8276a4a42d | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Jan 17 11:24:26 2018 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Jan 17 09:10:55 2018 -0500 |
tree | 7db3f8e05972588e2a9c71821f05c5aa4005bf1d | |
parent | dc94902bde1e158cd19c4deab208e5d6eb382a44 [diff] |
dm crypt: fix error return code in crypt_ctr() 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: ef43aa38063a6 ("dm crypt: add cryptographic data integrity protection (authenticated encryption)") Cc: stable@vger.kernel.org # 4.12+ Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>