Commit b64cc5fb authored by Mimi Zohar's avatar Mimi Zohar Committed by David Howells

KEYS: revert encrypted key change

Commit fc7c70e0 "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: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent f6fd5c84
...@@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key, ...@@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
goto out; goto out;
} }
prep->payload[0] = epayload; rcu_assign_keypointer(key, epayload);
out: out:
kfree(datablob); kfree(datablob);
return ret; return ret;
......
Markdown is supported
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