projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e35aab
)
RDMA/cma: Set status correctly on route resolution error
author
Sean Hefty
<sean.hefty@intel.com>
Fri, 29 Sep 2006 18:57:09 +0000
(11:57 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Mon, 2 Oct 2006 21:52:15 +0000
(14:52 -0700)
On reporting a route error, also include the status for the error,
rather than indicating a status of 0 when an error has occurred.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cma.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/cma.c
b/drivers/infiniband/core/cma.c
index f383a4f50ab01289069365f89dfdfcfbbfb56a20..d10fdf1419b1b56f9f3b8d4c6a27df5ccef87b5f 100644
(file)
--- a/
drivers/infiniband/core/cma.c
+++ b/
drivers/infiniband/core/cma.c
@@
-1308,6
+1308,7
@@
static void cma_query_handler(int status, struct ib_sa_path_rec *path_rec,
work->old_state = CMA_ROUTE_QUERY;
work->new_state = CMA_ADDR_RESOLVED;
work->event.event = RDMA_CM_EVENT_ROUTE_ERROR;
+ work->event.status = status;
}
queue_work(cma_wq, &work->work);