summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-01-17 14:24:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-01-23 21:58:19 +0300
commitf05431489fe654ba0df6fc8ab272a438bc702c62 (patch)
tree420456d76e64856569bfd9c5e4fe01c00d8b88a7 /Kconfig
parent82e12f1b26bae6b717c33af6395cf476bf3a6461 (diff)
downloadlinux-f05431489fe654ba0df6fc8ab272a438bc702c62.tar.xz
dm crypt: fix error return code in crypt_ctr()
commit 3cc2e57c4beabcbbaa46e1ac6d77ca8276a4a42d 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: ef43aa38063a6 ("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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions