aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.vnet.ibm.com>2014-07-26 23:21:02 -0400
committerDavid Howells <dhowells@redhat.com>2014-07-28 07:36:17 -0400
commitb64cc5fb85f38ae7ca3c67a8fea9ad8c0d068bfa (patch)
tree2c7497d1e2a17af44b59fb82b840f1c3471a5a4f /security
parentf6fd5c84b9eb93ee6fbf028da87a32aeeecc5ee4 (diff)
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>
Diffstat (limited to 'security')
-rw-r--r--security/keys/encrypted-keys/encrypted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/encrypted-keys/encrypted.c b/security/keys/encrypted-keys/encrypted.c
index d252c5704f8a..5fe443d120af 100644
--- a/security/keys/encrypted-keys/encrypted.c
+++ b/security/keys/encrypted-keys/encrypted.c
@@ -811,7 +811,7 @@ static int encrypted_instantiate(struct key *key,
811 goto out; 811 goto out;
812 } 812 }
813 813
814 prep->payload[0] = epayload; 814 rcu_assign_keypointer(key, epayload);
815out: 815out:
816 kfree(datablob); 816 kfree(datablob);
817 return ret; 817 return ret;