[Pvfs2-cvs] commit by dbonnie in pvfs2/src/io/bmi/bmi_ib: ib.c

CVS commit program cvs at parl.clemson.edu
Fri May 16 11:15:37 EDT 2008


Update of /anoncvs/pvfs2/src/io/bmi/bmi_ib
In directory parlweb1:/tmp/cvs-serv1762/src/io/bmi/bmi_ib

Modified Files:
      Tag: cu-security-branch
	ib.c 
Log Message:
Updated branch with code from HEAD


Index: ib.c
===================================================================
RCS file: /anoncvs/pvfs2/src/io/bmi/bmi_ib/ib.c,v
diff -p -u -r1.68 -r1.68.2.1
--- ib.c	13 Mar 2008 19:36:08 -0000	1.68
+++ ib.c	16 May 2008 15:15:37 -0000	1.68.2.1
@@ -1496,8 +1496,7 @@ BMI_ib_cancel(bmi_op_id_t id, bmi_contex
 	    /* pin when sending rts, so also must dereg in this state */
 	    if (sq->state.send == SQ_WAITING_RTS_SEND_COMPLETION ||
 	        sq->state.send == SQ_WAITING_RTS_SEND_COMPLETION_GOT_CTS ||
-	        sq->state.send == SQ_WAITING_CTS ||
-		sq->state.send == SQ_WAITING_DATA_SEND_COMPLETION)
+	        sq->state.send == SQ_WAITING_CTS)
 		memcache_deregister(ib_device->memcache, &sq->buflist);
 #  endif
 #endif
@@ -1512,8 +1511,7 @@ BMI_ib_cancel(bmi_op_id_t id, bmi_contex
 		memcache_deregister(ib_device->memcache, &rq->buflist);
 #  if MEMCACHE_EARLY_REG
 	    /* pin on post, dereg all these */
-	    if (rq->state.recv == RQ_RTS_WAITING_CTS_SEND_COMPLETION ||
-	        rq->state.recv == RQ_RTS_WAITING_RTS_DONE)
+	    if (rq->state.recv == RQ_RTS_WAITING_CTS_SEND_COMPLETION)
 		memcache_deregister(ib_device->memcache, &rq->buflist);
 	    if (rq->state.recv == RQ_WAITING_INCOMING
 	      && rq->buflist.tot_len > ib_device->eager_buf_payload)



More information about the Pvfs2-cvs mailing list