]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 293043
authorjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Jan 2016 23:58:32 +0000 (23:58 +0000)
committerjpaetzel <jpaetzel@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Jan 2016 23:58:32 +0000 (23:58 +0000)
commit7f72f5f21b3eafe281cd970f1e850e2061e406d1
treee28ba9366b4df499511bd88e93461cdd65688c87
parente47906aa915fc2572e7b83b665f7aea46c22184f
MFC 293043

Unset the gss kernel state when gssd exits

When gssd exits it leaves the kernel state set by
gssd_syscall().  nfsd sees this and waits endlessly
in an unkillable state for gssd to come back.  If you
had acidentally started gssd then stopped it, then
started nfsd you'd be in a bad way until you either
restarted gssd or rebooted the system.  This change
fixes that by setting the kernel state to "" when
gssd exits.

git-svn-id: svn://svn.freebsd.org/base/stable/10@293446 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kgssapi/gss_impl.c
usr.sbin/gssd/gssd.c