RDMA/ucma: Avoid sending reject if backlog is full
authorSean Hefty <sean.hefty@intel.com>
Tue, 6 Mar 2007 19:58:32 +0000 (11:58 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 6 Mar 2007 22:58:11 +0000 (14:58 -0800)
commit3492856e33da734501f2bdd8656cbfdf61f60330
treee885421fe21182c5f3cffb816883985894251bc5
parente64518f3736971f22d5c22a6bab40891d2db337f
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 <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/ucma.c