[openib-general] [PATCH] krping : Erroneous return on wake-up from function krping_bind_client
Pradipta Kumar Banerjee
bpradip at in.ibm.com
Fri Mar 31 08:00:13 PST 2006
Hi
The present code returns success after waking up even for the case when
cb->state is not equal to ROUTE_RESOLVED.
Signed-off-by: Pradipta Kumar B <bpradip at in.ibm.com>
---
Index: krping.c
=====================================================================
--- krping.org 2006-03-31 12:53:28.000000000 +0530
+++ krping.c 2006-03-31 17:16:00.000000000 +0530
@@ -887,7 +887,7 @@ static int krping_bind_client(struct krp
printk(KERN_ERR PFX
"waiting for addr/route resolution state %d\n",
cb->state);
- return ret;
+ return -1;
}
DEBUG_LOG("rdma_resolve_addr - rdma_resolve_route successful\n");
More information about the general
mailing list