Whamcloud - gitweb
i=eeb
authorisaac <isaac>
Wed, 30 May 2007 08:35:45 +0000 (08:35 +0000)
committerisaac <isaac>
Wed, 30 May 2007 08:35:45 +0000 (08:35 +0000)
-   should set the_lnet.ln_finalizing before completing messages.

lnet/ChangeLog
lnet/lnet/lib-msg.c

index bc1727d..f12f2dc 100644 (file)
        ptllnd    - Portals 3.3 / UNICOS/lc 1.5.x, 2.0.x
        * bug fixes
        
+Severity   : minor
+Frequency  : rare
+Description: the_lnet.ln_finalizing was not set when the current thread is
+             about to complete messages. It only affects multi-threaded 
+            user space LNet.
+       
 Severity   : normal
 Frequency  : rare
 Bugzilla   : 11472
index d29aa1e..c46ad1a 100644 (file)
@@ -199,6 +199,8 @@ lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
 #else
         if (the_lnet.ln_finalizing)
                 goto out;
+
+        the_lnet.ln_finalizing = 1;
 #endif
 
         while (!list_empty(&the_lnet.ln_finalizeq)) {