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
/
rxrpc
/
ar-security.c
diff --git
a/kernel/net/rxrpc/ar-security.c
b/kernel/net/rxrpc/ar-security.c
index
49b3cc3
..
8334474
100644
(file)
--- a/
kernel/net/rxrpc/ar-security.c
+++ b/
kernel/net/rxrpc/ar-security.c
@@
-137,9
+137,9
@@
int rxrpc_init_client_conn_security(struct rxrpc_connection *conn)
if (ret < 0)
return ret;
if (ret < 0)
return ret;
- if (!key->payload.data)
+ token = key->payload.data[0];
+ if (!token)
return -EKEYREJECTED;
return -EKEYREJECTED;
- token = key->payload.data;
sec = rxrpc_security_lookup(token->security_index);
if (!sec)
sec = rxrpc_security_lookup(token->security_index);
if (!sec)