android_kernel_xiaomi_sm8350/net/sunrpc/auth_gss
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.c SUNRPC: Fix a memory leak in the auth credcache code 2007-07-10 23:40:33 -04:00
gss_generic_token.c
gss_krb5_crypto.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_krb5_mech.c
gss_krb5_seal.c
gss_krb5_seqnum.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_krb5_unseal.c
gss_krb5_wrap.c
gss_mech_switch.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_spkm3_mech.c
gss_spkm3_seal.c spkm3: initialize hash 2007-05-02 07:37:07 -07:00
gss_spkm3_token.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
gss_spkm3_unseal.c Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ 2007-02-12 22:43:25 -08:00
Makefile
svcauth_gss.c sendfile: convert nfsd to splice_direct_to_actor() 2007-07-10 08:04:14 +02:00