From 977211ac514d75a3fd1af73f9655783ada7fe309 Mon Sep 17 00:00:00 2001 From: isaac Date: Wed, 30 May 2007 08:35:45 +0000 Subject: [PATCH] i=eeb - should set the_lnet.ln_finalizing before completing messages. --- lnet/ChangeLog | 6 ++++++ lnet/lnet/lib-msg.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/lnet/ChangeLog b/lnet/ChangeLog index bc1727d..f12f2dc 100644 --- a/lnet/ChangeLog +++ b/lnet/ChangeLog @@ -30,6 +30,12 @@ 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 diff --git a/lnet/lnet/lib-msg.c b/lnet/lnet/lib-msg.c index d29aa1e..c46ad1a 100644 --- a/lnet/lnet/lib-msg.c +++ b/lnet/lnet/lib-msg.c @@ -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)) { -- 1.8.3.1