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_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
auth.c SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
cache.c [SUNRPC]: cleanup: use seq_release_private() where appropriate 2007-04-26 01:03:43 -07:00
clnt.c SUNRPC: clean up rpc_call_async/rpc_call_sync/rpc_run_task 2007-07-10 23:40:30 -04:00
Makefile SUNRPC: remove old portmapper 2007-04-30 22:17:15 -07:00
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 [NET]: Treat CHECKSUM_PARTIAL as CHECKSUM_UNNECESSARY 2007-04-25 22:28:43 -07:00
stats.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
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_unix.c knfsd: rename sk_defer_lock to sk_lock 2007-05-09 12:30:54 -07:00
svcauth.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
svcsock.c knfsd: simplify a 'while' condition in svcsock.c 2007-05-09 12:30:54 -07:00
sysctl.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
timer.c SUNRPC: remove extraneous header inclusions 2006-09-22 23:24:47 -04:00
xdr.c [NET] SUNRPC: Fix whitespace errors. 2007-02-10 23:20:13 -08:00
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