Commit:     3492856e33da734501f2bdd8656cbfdf61f60330
Parent:     e64518f3736971f22d5c22a6bab40891d2db337f
Author:     Sean Hefty <[EMAIL PROTECTED]>
AuthorDate: Tue Mar 6 11:58:32 2007 -0800
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Tue Mar 6 14:58:11 2007 -0800

    RDMA/ucma: Avoid sending reject if backlog is full
    Change the returned error code to ENOMEM if the connection event
    backlog is full.  This prevents the ib_cm from issuing a reject
    on the connection, which can allow retries to succeed.
    Signed-off-by: Sean Hefty <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 drivers/infiniband/core/ucma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/core/ucma.c b/drivers/infiniband/core/ucma.c
index b516b93..c859134 100644
--- a/drivers/infiniband/core/ucma.c
+++ b/drivers/infiniband/core/ucma.c
@@ -266,7 +266,7 @@ static int ucma_event_handler(struct rdma_cm_id *cm_id,
        if (event->event == RDMA_CM_EVENT_CONNECT_REQUEST) {
                if (!ctx->backlog) {
-                       ret = -EDQUOT;
+                       ret = -ENOMEM;
                        goto out;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to