kernel_optimize_test/net/sunrpc
Trond Myklebust 19d55046cd SUNRPC: Fix a credential refcount leak
All callers of __rpc_clone_client() pass in a value for args->cred,
meaning that the credential gets assigned and referenced in
the call to rpc_new_client().

Reported-by: Ido Schimmel <idosch@idosch.org>
Fixes: 79caa5fad4 ("SUNRPC: Cache cred of process creating the rpc_client")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2019-06-21 14:45:09 -04:00
..
auth_gss
xprtrdma xprtrdma: Use struct_size() in kzalloc() 2019-05-28 09:28:49 -04:00
addr.c
auth_null.c
auth_unix.c
auth.c
backchannel_rqst.c
cache.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 363 2019-06-05 17:37:09 +02:00
clnt.c SUNRPC: Fix a credential refcount leak 2019-06-21 14:45:09 -04:00
debugfs.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
netns.h
rpc_pipe.c
rpcb_clnt.c
sched.c Revert "SUNRPC: Declare RPC timers as TIMER_DEFERRABLE" 2019-06-21 14:43:42 -04:00
socklib.c
stats.c
sunrpc_syms.c
sunrpc.h
svc_xprt.c
svc.c
svcauth_unix.c
svcauth.c
svcsock.c
sysctl.c
timer.c
xdr.c
xprt.c Revert "SUNRPC: Declare RPC timers as TIMER_DEFERRABLE" 2019-06-21 14:43:42 -04:00
xprtmultipath.c
xprtsock.c