[openib-general] [PATCH] svn checkin to merge upstream
Sean Hefty
sean.hefty at intel.com
Mon Jul 24 09:59:20 PDT 2006
I reverted svn checkin 8629 and replaced it with check-in 8646, shown below.
This only causes a minor change to the CM event handling patch.
Return error code, rather than success (0), on failure allocating timewait_info
in ib_send_cm_req.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
Index: cm.c
===================================================================
--- cm.c (revision 8645)
+++ cm.c (revision 8646)
@@ -976,8 +976,10 @@
cm_id_priv->timewait_info = cm_create_timewait_info(cm_id_priv->
id.local_id);
- if (IS_ERR(cm_id_priv->timewait_info))
+ if (IS_ERR(cm_id_priv->timewait_info)) {
+ ret = PTR_ERR(cm_id_priv->timewait_info);
goto out;
+ }
ret = cm_init_av_by_path(param->primary_path, &cm_id_priv->av);
if (ret)
More information about the general
mailing list