Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
net
/
ceph
/
crypto.h
diff --git
a/kernel/net/ceph/crypto.h
b/kernel/net/ceph/crypto.h
index
d149822
..
2e9cab0
100644
(file)
--- a/
kernel/net/ceph/crypto.h
+++ b/
kernel/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,