diff options
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/ib_cm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index b5b5ebbc0bb6..1a91af75f4c7 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c | |||
@@ -620,8 +620,11 @@ void rds_ib_conn_shutdown(struct rds_connection *conn) | |||
620 | ic->i_cm_id, err); | 620 | ic->i_cm_id, err); |
621 | } | 621 | } |
622 | 622 | ||
623 | /* | ||
624 | * Don't wait for the send ring to be empty -- there may be completed | ||
625 | * non-signaled entries sitting on there. We unmap these below. | ||
626 | */ | ||
623 | wait_event(rds_ib_ring_empty_wait, | 627 | wait_event(rds_ib_ring_empty_wait, |
624 | rds_ib_ring_empty(&ic->i_send_ring) && | ||
625 | rds_ib_ring_empty(&ic->i_recv_ring)); | 628 | rds_ib_ring_empty(&ic->i_recv_ring)); |
626 | 629 | ||
627 | if (ic->i_send_hdrs) | 630 | if (ic->i_send_hdrs) |