提交 b64cc5fb 编写于 作者: M Mimi Zohar 提交者: 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: NMimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: NDavid Howells <dhowells@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册