freebsd-dev/sys/rpc/rpcsec_gss
Rick Macklem a4c5a1c315 When unmounting an NFS mount using sec=krb5[ip], the umount system
call could get hung sleeping on "gsssta" if the credentials for a user
that had been accessing the mount point have expired. This happened
because rpc_gss_destroy_context() would end up calling itself when the
"destroy context" RPC was attempted, trying to refresh the credentials.
This patch just checks for this case in rpc_gss_refresh() and returns
without attempting the refresh, which avoids the recursive call to
rpc_gss_destroy_context() and the subsequent hang.

Reviewed by:	dfr
Approved by:	re (Ken Smith), kib (mentor)
2009-07-01 16:42:03 +00:00
..
rpcsec_gss_conf.c
rpcsec_gss_int.h
rpcsec_gss_misc.c
rpcsec_gss_prot.c
rpcsec_gss.c When unmounting an NFS mount using sec=krb5[ip], the umount system 2009-07-01 16:42:03 +00:00
svc_rpcsec_gss.c Delete the declaration of an unused variable so that it will build. 2009-06-20 17:16:29 +00:00