projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Remove unused l2cap_conn->security_timer
[cascardo/linux.git]
/
net
/
sunrpc
/
auth_null.c
diff --git
a/net/sunrpc/auth_null.c
b/net/sunrpc/auth_null.c
index
f0ebe07
..
712c123
100644
(file)
--- a/
net/sunrpc/auth_null.c
+++ b/
net/sunrpc/auth_null.c
@@
-35,6
+35,8
@@
nul_destroy(struct rpc_auth *auth)
static struct rpc_cred *
nul_lookup_cred(struct rpc_auth *auth, struct auth_cred *acred, int flags)
{
+ if (flags & RPCAUTH_LOOKUP_RCU)
+ return &null_cred;
return get_rpccred(&null_cred);
}