summaryrefslogtreecommitdiffstats
path: root/sys/kgssapi
diff options
context:
space:
mode:
authorzack <zack@FreeBSD.org>2011-07-16 08:05:49 +0000
committerzack <zack@FreeBSD.org>2011-07-16 08:05:49 +0000
commitb3e331350eb3f9280f1c520a93d51993df0a659a (patch)
treedb776894e8c8d24c6134e97deca1c82fb38b65b8 /sys/kgssapi
parentdd01347a03be984865115340542319c1042dd813 (diff)
downloadFreeBSD-src-b3e331350eb3f9280f1c520a93d51993df0a659a.zip
FreeBSD-src-b3e331350eb3f9280f1c520a93d51993df0a659a.tar.gz
Add a small comment about unloading the kgsappi module.
Reviewed by: rmacklem Approved by: zml (mentor) MFC after: 2 weeks
Diffstat (limited to 'sys/kgssapi')
-rw-r--r--sys/kgssapi/gss_impl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kgssapi/gss_impl.c b/sys/kgssapi/gss_impl.c
index 09b0a4b..ef6c041 100644
--- a/sys/kgssapi/gss_impl.c
+++ b/sys/kgssapi/gss_impl.c
@@ -282,7 +282,11 @@ kgssapi_modevent(module_t mod, int type, void *data)
rpc_gss_svc_max_data_length;
break;
case MOD_UNLOAD:
- /* Unloading of the kgssapi module isn't supported. */
+ /*
+ * Unloading of the kgssapi module is not currently supported.
+ * If somebody wants this, we would need to keep track of
+ * currently executing threads and make sure the count is 0.
+ */
/* FALLTHROUGH */
default:
error = EOPNOTSUPP;
OpenPOWER on IntegriCloud