linux/net/sunrpc/auth_gss
J. Bruce Fields cb27680580 nfsd: fix possible oops on re-insertion of rpcsec_gss modules
The handling of the re-registration case is wrong here; the "test" that was
returned from auth_domain_lookup will not be used again, so that reference
should be put.  And auth_domain_lookup never did anything with "new" in
this case, so we should just clean it up ourself.

Thanks to Akinobu Mita for bug report, analysis, and testing.

Cc: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Cc: Neil Brown <neilb@suse.de>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-24 12:24:58 -07:00
..
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
auth_gss.c SUNRPC: move bkl locking and xdr proc invocation into a common helper 2007-07-19 15:21:39 -04:00
gss_generic_token.c [NET] SUNRPC: Fix whitespace errors. 2007-02-10 23:20:13 -08:00
gss_krb5_crypto.c [NET] SUNRPC: Fix whitespace errors. 2007-07-19 10:44:53 +09:00
gss_krb5_mech.c knfsd: rpc: add gss krb5 and spkm3 oid values 2007-07-17 10:23:08 -07:00
gss_krb5_seal.c SUNRPC: fix print format for tk_pid in auth_gss support 2007-02-03 15:35:09 -08:00
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 SUNRPC: fix print format for tk_pid in auth_gss support 2007-02-03 15:35:09 -08:00
gss_krb5_wrap.c SUNRPC: fix print format for tk_pid in auth_gss support 2007-02-03 15:35:09 -08:00
gss_mech_switch.c knfsd: nfsd4: store pseudoflavor in request 2007-07-17 10:23:07 -07:00
gss_spkm3_mech.c knfsd: rpc: add gss krb5 and spkm3 oid values 2007-07-17 10:23:08 -07:00
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
svcauth_gss.c nfsd: fix possible oops on re-insertion of rpcsec_gss modules 2007-07-24 12:24:58 -07:00