[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/bmi/bmi_mx: mx.c

CVS commit program cvs at parl.clemson.edu
Tue Jul 14 12:17:24 EDT 2009


Update of /projects/cvsroot/pvfs2-1/src/io/bmi/bmi_mx
In directory parlweb1:/tmp/cvs-serv1936/bmi_mx

Modified Files:
	mx.c 
Log Message:
patch from Scott Atchley to allow bmi_mx to handle large negative tag values.
Fixes bug reported by Kazuki Ohta in iofwd testing.


Index: mx.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/bmi/bmi_mx/mx.c,v
diff -p -u -r1.30 -r1.31
--- mx.c	23 Dec 2008 17:51:38 -0000	1.30
+++ mx.c	14 Jul 2009 16:17:23 -0000	1.31
@@ -1423,7 +1423,7 @@ bmx_create_match(struct bmx_ctx *ctx)
         int             connect = 0;
         uint64_t        type    = (uint64_t) ctx->mxc_msg_type;
         uint64_t        id      = 0ULL;
-        uint64_t        tag     = (uint64_t) ctx->mxc_tag;
+        uint64_t        tag     = (uint64_t) ((uint32_t) ctx->mxc_tag);
 
         if (ctx->mxc_msg_type == BMX_MSG_CONN_REQ || 
             ctx->mxc_msg_type == BMX_MSG_CONN_ACK) {



More information about the Pvfs2-cvs mailing list