From: nathan Date: Thu, 27 Oct 2005 22:54:42 +0000 (+0000) Subject: Branch b_hd_newconfig X-Git-Tag: v1_7_100~1^25~6^2~76 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=92eb90fefbe404494c2f6bd44b7e4a343db87bc6;p=fs%2Flustre-release.git Branch b_hd_newconfig b=9501 fix 'lctl net down' twice assert --- diff --git a/lnet/lnet/module.c b/lnet/lnet/module.c index 730608a..ea5fa02 100644 --- a/lnet/lnet/module.c +++ b/lnet/lnet/module.c @@ -58,8 +58,10 @@ lnet_unconfigure (void) LNET_MUTEX_DOWN(&lnet_config_mutex); - if (the_lnet.ln_niinit_self) + if (the_lnet.ln_niinit_self) { + the_lnet.ln_niinit_self = 0; LNetNIFini(); + } LNET_MUTEX_DOWN(&the_lnet.ln_api_mutex); refcount = the_lnet.ln_refcount;