Skip to content
Commit e7c95eff authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

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: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 2d6be4ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment