sst-linux/include/linux/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.h
auth.h SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
cache.h
clnt.h SUNRPC: Move rpc_register_client and friends into net/sunrpc/clnt.c 2007-07-10 23:40:30 -04:00
debug.h
gss_api.h
gss_asn1.h
gss_err.h
gss_krb5.h
gss_spkm3.h
Kbuild
metrics.h
msg_prot.h
rpc_pipe_fs.h SUNRPC: Add a field to track the number of kernel users of an rpc_pipe 2007-07-10 23:40:33 -04:00
sched.h SUNRPC: Move rpc_task->tk_task list into struct rpc_clnt 2007-07-10 23:40:28 -04:00
stats.h
svc.h sendfile: convert nfsd to splice_direct_to_actor() 2007-07-10 08:04:14 +02:00
svcauth_gss.h
svcauth.h
svcsock.h
timer.h
types.h
xdr.h
xprt.h SUNRPC: Fix sparse warnings 2007-05-14 19:33:47 -04:00