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:
6583eb3
)
[PATCH] IB/cm: set private data length for reject messages
author
Ira Weiny
<
[email protected]
>
Fri, 14 Jul 2006 07:23:54 +0000
(
00:23
-0700)
committer
Linus Torvalds
<
[email protected]
>
Sat, 15 Jul 2006 04:53:50 +0000
(21:53 -0700)
Set private data length for reject messages to the correct size. Fix from
openib svn r8483.
Signed-off-by: Sean Hefty <
[email protected]
>
Signed-off-by: Michael S. Tsirkin <
[email protected]
>
Cc: Roland Dreier <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/infiniband/core/cma.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/core/cma.c
b/drivers/infiniband/core/cma.c
index c2cba734c5cb2114e16f326b266de884fad4e374..d6f99d5720fcf2b12051898fc336a2e1691e882a 100644
(file)
--- a/
drivers/infiniband/core/cma.c
+++ b/
drivers/infiniband/core/cma.c
@@
-812,6
+812,7
@@
static int cma_ib_handler(struct ib_cm_id *cm_id, struct ib_cm_event *ib_event)
cma_modify_qp_err(&id_priv->id);
status = ib_event->param.rej_rcvd.reason;
event = RDMA_CM_EVENT_REJECTED;
+ private_data_len = IB_CM_REJ_PRIVATE_DATA_SIZE;
break;
default:
printk(KERN_ERR "RDMA CMA: unexpected IB CM event: %d",