[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b2-47-gbf3c7d4
Service Account
noreply at mpich.org
Wed May 27 16:40:23 CDT 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via bf3c7d4192c5d0ad3f47e89ad9fadc7c8e8e6bbc (commit)
from 443f495c1fe5eac127633dbc1805a47f4e48d849 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/bf3c7d4192c5d0ad3f47e89ad9fadc7c8e8e6bbc
commit bf3c7d4192c5d0ad3f47e89ad9fadc7c8e8e6bbc
Author: Halim Amer <aamer at anl.gov>
Date: Tue May 26 21:27:58 2015 -0500
Fix handle leaks when canceling LMT send requests
If the destination of a LMT nonblocking send, which
follows a rendez-vous protocol, receives the RTS packet to the
unexpected queue followed by a cancelation request, the request in
the unexpected queue never gets freed. To solve the issue, we
forcefully free the rendez-vous request by adding an additional
request release operation. Refs #287
Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>
diff --git a/src/mpid/ch3/src/mpid_cancel_send.c b/src/mpid/ch3/src/mpid_cancel_send.c
index 302d793..298ee59 100644
--- a/src/mpid/ch3/src/mpid_cancel_send.c
+++ b/src/mpid/ch3/src/mpid_cancel_send.c
@@ -252,6 +252,10 @@ int MPIDI_CH3_PktHandler_CancelSendReq( MPIDI_VC_t *vc, MPIDI_CH3_Pkt_t *pkt,
{
MPIU_Free(rreq->dev.tmpbuf);
}
+ if (MPIDI_Request_get_msg_type(rreq) == MPIDI_REQUEST_RNDV_MSG)
+ {
+ MPID_Request_release(rreq);
+ }
MPID_Request_release(rreq);
ack = TRUE;
}
-----------------------------------------------------------------------
Summary of changes:
src/mpid/ch3/src/mpid_cancel_send.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list