linux/net/sunrpc
Trond Myklebust 3ab9bb7243 SUNRPC: Fix a memory leak in the auth credcache code
The leak only affects the RPCSEC_GSS caches, since they are the only ones
that are dynamically allocated...
Rename the existing rpcauth_free_credcache() to rpcauth_clear_credcache()
in order to better describe its role, then add a new function
rpcauth_destroy_credcache() that actually frees the cache in addition to
clearing it out.

Also move the call to destroy the credcache in gss_destroy() to come before
the rpc upcall pipe is unlinked.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2007-07-10 23:40:33 -04:00
..
auth_gss SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
auth.c SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
auth_null.c SUNRPC: Add a backpointer from the struct rpc_cred to the rpc_auth 2007-07-10 23:40:31 -04:00
auth_unix.c SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
cache.c
clnt.c SUNRPC: clean up rpc_call_async/rpc_call_sync/rpc_run_task 2007-07-10 23:40:30 -04:00
Makefile
rpc_pipe.c SUNRPC: Add a field to track the number of kernel users of an rpc_pipe 2007-07-10 23:40:33 -04:00
rpcb_clnt.c SUNRPC: Remove rpc_clnt->cl_count 2007-07-10 23:40:29 -04:00
sched.c SUNRPC: clean up rpc_call_async/rpc_call_sync/rpc_run_task 2007-07-10 23:40:30 -04:00
socklib.c
stats.c
sunrpc_syms.c SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
svc.c sendfile: convert nfsd to splice_direct_to_actor() 2007-07-10 08:04:14 +02:00
svcauth.c
svcauth_unix.c
svcsock.c
sysctl.c
timer.c
xdr.c
xprt.c SUNRPC: fix hang due to eventd deadlock... 2007-07-10 23:40:31 -04:00
xprtsock.c SUNRPC: fix hang due to eventd deadlock... 2007-07-10 23:40:31 -04:00