projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libceph: fix auth_signature buffer allocation in secure mode
[linux-2.6-microblaze.git]
/
net
/
ceph
/
messenger_v2.c
diff --git
a/net/ceph/messenger_v2.c
b/net/ceph/messenger_v2.c
index
c1ebb2a
..
4f938fc
100644
(file)
--- a/
net/ceph/messenger_v2.c
+++ b/
net/ceph/messenger_v2.c
@@
-1333,7
+1333,8
@@
static int prepare_auth_signature(struct ceph_connection *con)
void *buf;
int ret;
- buf = alloc_conn_buf(con, head_onwire_len(SHA256_DIGEST_SIZE, false));
+ buf = alloc_conn_buf(con, head_onwire_len(SHA256_DIGEST_SIZE,
+ con_secure(con)));
if (!buf)
return -ENOMEM;