freebsd-skq/sys
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
..
amd64 Don't include rpcv2.h - it has been removed. 2009-07-01 07:34:28 +00:00
arm Correct the #endif comment. 2009-06-26 16:22:24 +00:00
boot On special systems where the MBR and the GPT are in sync (up to the 4th 2009-06-26 09:32:31 +00:00
bsm Merge OpenBSM 1.1 from OpenBSM vendor branch to head. 2009-04-19 16:17:13 +00:00
cam Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
cddl dtrace/amd64: fix virtual address checks 2009-06-24 16:03:57 +00:00
compat Replace AUDIT_ARG() with variable argument macros with a set more more 2009-06-27 13:58:44 +00:00
conf Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
contrib Update to 3.6.2.2 firmware (latest w/o host-based power save support): 2009-06-29 18:42:54 +00:00
crypto Changed to M_NOWAIT when reallocing psc_buf in padlock_sha_update(), 2009-05-27 09:52:12 +00:00
ddb Place hostnames and similar information fully under the prison system. 2009-05-29 21:27:12 +00:00
dev Multiqueue RX is not correctly enabled on the new 82599 2009-07-01 16:13:01 +00:00
fs Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
gdb
geom Make gjournal work with kernel compiled with "options DIAGNOSTIC". 2009-06-30 14:34:06 +00:00
gnu Fix the build by using proper format. 2009-06-25 16:48:13 +00:00
i386 Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
ia64 Correct the #endif comment. 2009-06-26 16:22:24 +00:00
isa Rename statclock_disable variable to atrtcclock_disable that it actually is, 2009-05-03 17:47:21 +00:00
kern Audit the file descriptor number passed to lseek(2). 2009-07-01 15:37:23 +00:00
kgssapi When the KOBJMETHOD() macro was updated, it resulted in the 2009-06-14 17:33:46 +00:00
libkern done method is supposed to return int. 2009-06-22 22:09:18 +00:00
mips Fix copyrights to reflect the origin of these files. 2009-06-29 16:45:50 +00:00
modules Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
net In case we cannot queue a packet reaching the queue limit, retain the 2009-06-30 05:21:00 +00:00
net80211 Modify most routines returning 'struct ifaddr *' to return references 2009-06-23 20:19:09 +00:00
netatalk Use queue(9) instead of hand-crafted link lists for the global netatalk 2009-06-24 21:36:09 +00:00
netgraph Fix infinite loop in ng_iface, that happens when packet passes out via 2009-07-01 08:08:56 +00:00
netinet Update various IPFW-related modules to use if_addr_rlock()/ 2009-06-26 00:46:50 +00:00
netinet6 Fix "options VIMAGE_GLOBALS" build following introduction of 2009-06-29 15:23:50 +00:00
netipsec Add address list locking for in6_ifaddrhead/ia_link: as with locking 2009-06-25 16:35:28 +00:00
netipx Use queue(9) instead of hand-crafted link lists for the global IPX 2009-06-24 20:57:50 +00:00
netnatm Reimplement the netisr framework in order to support parallel netisr 2009-06-01 10:41:38 +00:00
netncp
netsmb Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfsclient Adjust the internal NFS KPI to avoid the last traces of NFS_LEGACYRPC. 2009-06-30 19:10:17 +00:00
nfsserver Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nlm Since svc_[dg|vc|tli|tp]_create() did not hold a reference count on the 2009-06-17 22:50:26 +00:00
opencrypto Fix cryptodev UIO creation. 2009-05-23 13:23:46 +00:00
pc98 Add stub vm.h for pc98. 2009-06-27 02:20:31 +00:00
pci Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
powerpc Correct the #endif comment. 2009-06-26 16:22:24 +00:00
rpc When unmounting an NFS mount using sec=krb5[ip], the umount system 2009-07-01 16:42:03 +00:00
security Audit the file descriptor number passed to lseek(2). 2009-07-01 15:37:23 +00:00
sparc64 - Work around the broken loader behavior of not demapping no longer 2009-06-28 22:42:51 +00:00
sun4v Correct the #endif comment. 2009-06-26 16:22:24 +00:00
sys Add FIONSPACE from NetBSD. FIONSPACE is provided so that programs may 2009-06-30 13:38:49 +00:00
tools - Add a way to change filter oversampling factor through 2009-06-15 04:31:34 +00:00
ufs For SU mounts, softdep_fsync() might drop vnode lock, allowing other 2009-06-30 10:07:33 +00:00
vm Eliminiate code duplication by calling vm_object_destroy() 2009-06-28 08:42:17 +00:00
xdr MFdevbranch 192944 2009-05-28 08:18:12 +00:00
xen Make ipi_cpu() function as intended. 2009-05-30 08:53:13 +00:00
Makefile Remove the unmaintained University of Michigan NFSv4 client from 8.x 2009-05-22 12:35:12 +00:00