diff options
-rw-r--r-- | net/rds/ib_recv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index 9722bf839d9d..b4e421aa9727 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c | |||
@@ -410,14 +410,14 @@ void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) | |||
410 | break; | 410 | break; |
411 | } | 411 | } |
412 | 412 | ||
413 | /* XXX when can this fail? */ | 413 | rdsdebug("recv %p ibinc %p page %p addr %lu\n", recv, |
414 | ret = ib_post_recv(ic->i_cm_id->qp, &recv->r_wr, &failed_wr); | ||
415 | rdsdebug("recv %p ibinc %p page %p addr %lu ret %d\n", recv, | ||
416 | recv->r_ibinc, sg_page(&recv->r_frag->f_sg), | 414 | recv->r_ibinc, sg_page(&recv->r_frag->f_sg), |
417 | (long) ib_sg_dma_address( | 415 | (long) ib_sg_dma_address( |
418 | ic->i_cm_id->device, | 416 | ic->i_cm_id->device, |
419 | &recv->r_frag->f_sg), | 417 | &recv->r_frag->f_sg)); |
420 | ret); | 418 | |
419 | /* XXX when can this fail? */ | ||
420 | ret = ib_post_recv(ic->i_cm_id->qp, &recv->r_wr, &failed_wr); | ||
421 | if (ret) { | 421 | if (ret) { |
422 | rds_ib_conn_error(conn, "recv post on " | 422 | rds_ib_conn_error(conn, "recv post on " |
423 | "%pI4 returned %d, disconnecting and " | 423 | "%pI4 returned %d, disconnecting and " |