mirror of https://gitee.com/openkylin/linux.git
KEYS: revert encrypted key change
Commit fc7c70e
"KEYS: struct key_preparsed_payload should have two
payload pointers" erroneously modified encrypted-keys. This patch
reverts the change to that file.
Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
f6fd5c84b9
commit
b64cc5fb85
|
@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
|
|||
goto out;
|
||||
}
|
||||
|
||||
prep->payload[0] = epayload;
|
||||
rcu_assign_keypointer(key, epayload);
|
||||
out:
|
||||
kfree(datablob);
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue