[portals4] r2300 committed - Fix problem where count was not being incremented when retrying memory...

0 views
Skip to first unread message

port...@googlecode.com

unread,
Apr 20, 2015, 12:37:29 PM4/20/15
to portals4...@googlegroups.com
Revision: 2300
Author: regra...@gmail.com
Date: Mon Apr 20 16:37:11 2015 UTC
Log: Fix problem where count was not being incremented when retrying
memory deregistration


https://code.google.com/p/portals4/source/detail?r=2300

Modified:
/trunk/src/ib/ptl_mr.c

=======================================
--- /trunk/src/ib/ptl_mr.c Mon Apr 20 15:12:44 2015 UTC
+++ /trunk/src/ib/ptl_mr.c Mon Apr 20 16:37:11 2015 UTC
@@ -72,7 +72,7 @@

err = ibv_dereg_mr(mr->ibmr);
if (err) {
- while (err && count < 50){
+ while (err && count++ < 50){
err=ibv_dereg_mr(mr->ibmr);
}
if (err)
Reply all
Reply to author
Forward
0 new messages