commit | e7c95effcd3a7a0c9535c809141ca499fede2c31 | [log] [tgz] |
---|---|---|
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | Tue Feb 28 07:05:59 2017 +0100 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Wed Mar 01 09:59:27 2017 +0100 |
tree | 443ed774218ce8d1f3b8b1dcf5bc12d84827f593 | |
parent | 2d6be4abf514fc26c83d239c7f31da1f95e4a31d [diff] |
s390/crypt: fix missing unlock in ctr_paes_crypt on error path The ctr mode of protected key aes uses the ctrblk page if the ctrblk_lock could be acquired. If the protected key has to be reestablished and this operation fails the unlock for the ctrblk_lock is missing. Add it. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>