projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: x_tables: add and use xt_check_entry_offsets
[firefly-linux-kernel-4.4.55.git]
/
net
/
ceph
/
crypto.h
diff --git
a/net/ceph/crypto.h
b/net/ceph/crypto.h
index d1498224c49d4c6c18e082ea908cb3e5a8fed30c..2e9cab09f37ba65c9c5961c12e10d2aded02413f 100644
(file)
--- a/
net/ceph/crypto.h
+++ b/
net/ceph/crypto.h
@@
-16,8
+16,10
@@
struct ceph_crypto_key {
static inline void ceph_crypto_key_destroy(struct ceph_crypto_key *key)
{
- if (key)
+ if (key)
{
kfree(key->key);
+ key->key = NULL;
+ }
}
int ceph_crypto_key_clone(struct ceph_crypto_key *dst,